nodogsplash2: Add NDS Restart Hook for Firewall
nodogsplash2: Add NDS Restart Hook for Firewall NodogSplash iptables entries are overwritten if the OpenWrt Firewall is restarted. This change adds a restart hook to firewall.user to restart NodogSplash if Firewall is restarted. Author-name: Rob White Signed-off-by: Rob White rob@blue-wave.net
This commit is contained in:
parent
fdaa4cde3b
commit
9892ca6036
1 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,12 @@ define Package/nodogsplash2/install
|
||||||
$(CP) $(PKG_BUILD_DIR)/resources/splash.jpg $(1)/etc/nodogsplash/htdocs/images/
|
$(CP) $(PKG_BUILD_DIR)/resources/splash.jpg $(1)/etc/nodogsplash/htdocs/images/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/nodogsplash2/postrm
|
||||||
|
#!/bin/sh
|
||||||
|
uci delete firewall.nodogsplash2
|
||||||
|
uci commit firewall
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/nodogsplash2/conffiles
|
define Package/nodogsplash2/conffiles
|
||||||
/etc/nodogsplash/nodogsplash.conf
|
/etc/nodogsplash/nodogsplash.conf
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue