summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/root/etc/hotplug.d/iface/25-splash
blob: cf826835083f7cf5fb0d25951031f9d4cb6bb95e (plain)
1
2
3
4
5
6
7
8
9
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