add packages_10.03.2 in preparation for the 10.03.2 interim release
[10.03/packages.git] / net / autossh / files / autossh.hotplug
1 #!/bin/sh
2 # Copyright (C) 2007 OpenWrt.org
3
4 /etc/init.d/autossh enabled && {
5
6         [ "$ACTION" = "ifup" ] && {
7                 /etc/init.d/autossh start
8         }
9
10         [ "$ACTION" = "ifdown" ] && {
11                 /etc/init.d/autossh stop
12         }
13         
14 }