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
204 B

  1. #!/bin/sh
  2. # Copyright (C) 2007 OpenWrt.org
  3. /etc/init.d/autossh enabled && {
  4. [ "$ACTION" = "ifup" ] && {
  5. /etc/init.d/autossh start
  6. }
  7. [ "$ACTION" = "ifdown" ] && {
  8. /etc/init.d/autossh stop
  9. }
  10. }