applications/luci-splash: Add hotplug script for splash

This commit is contained in:
Manuel Munz 2013-06-02 16:41:03 +00:00
parent 039cf65524
commit af72920b6e

View file

@ -0,0 +1,10 @@
#!/bin/sh
[ "$ACTION" = ifup ] || exit 0
/etc/init.d/firewall enabled || exit 0
if [ -x /etc/init.d/luci_splash ]; then
logger -t splash "Reloading splash firewall rules due to ifup of $INTERFACE ($DEVICE)"
/etc/init.d/luci_splash restart
fi