mirror of
https://github.com/openwrt/packages.git
synced 2025-01-31 03:41:44 +00:00
d71bea3f19
- convert autossh into procd instances - add new uci config options to handle local and remote port forwarding - remove hotplug down actions causing service to stop on any interface down event Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
11 lines
141 B
Bash
11 lines
141 B
Bash
#!/bin/sh
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
|
|
/etc/init.d/autossh enabled && {
|
|
|
|
[ "$ACTION" = "ifup" ] && {
|
|
/etc/init.d/autossh start
|
|
}
|
|
|
|
}
|