mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
autossh: import from oldpackages
Signed-off-by: Christian Beier <cb@shoutrlabs.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user