You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
203 B

#!/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
}
}