2016-09-06 13:51:24 +02:00
|
|
|
#!/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
|
|
|
|
}
|
2018-04-11 20:22:17 +02:00
|
|
|
|
2016-09-06 13:51:24 +02:00
|
|
|
}
|