projects
/
project
/
luci.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
applications/luci-splash: Add hotplug script for splash
[project/luci.git]
/
applications
/
luci-splash
/
root
/
etc
/
hotplug.d
/
iface
/
25-splash
1
#!/bin/sh
2
3
[ "$ACTION" = ifup ] || exit 0
4
5
/etc/init.d/firewall enabled || exit 0
6
7
if [ -x /etc/init.d/luci_splash ]; then
8
logger -t splash "Reloading splash firewall rules due to ifup of $INTERFACE ($DEVICE)"
9
/etc/init.d/luci_splash restart
10
fi