mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
0648e9e71e
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
15 lines
204 B
Bash
15 lines
204 B
Bash
#!/bin/sh
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
|
|
/etc/init.d/autossh enabled && {
|
|
|
|
[ "$ACTION" = "ifup" ] && {
|
|
/etc/init.d/autossh start
|
|
}
|
|
|
|
[ "$ACTION" = "ifdown" ] && {
|
|
/etc/init.d/autossh stop
|
|
}
|
|
|
|
}
|