packages/net/autossh/files/autossh.hotplug
Jaymin Patel d71bea3f19 autossh: improve uci and procd support
- 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>
2022-07-05 21:53:27 -07:00

10 lines
141 B
Bash

#!/bin/sh
# Copyright (C) 2007 OpenWrt.org
/etc/init.d/autossh enabled && {
[ "$ACTION" = "ifup" ] && {
/etc/init.d/autossh start
}
}