packages/net/coova-chilli/files/chilli.hotplug
kaloz 9796f7f26e [coova-chilli]: add hotplug script to restart coova when wan comes up
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/packages@40015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-03-24 11:16:05 +00:00

8 lines
106 B
Bash

#!/bin/sh
[ "$ACTION" == "ifup" ] || exit 0
[ "$INTERFACE" = "wan" ] && {
/etc/init.d/chilli restart
}