projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a5c2b4
)
add a way of integrating config file handlers in extra packages
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 7 Oct 2005 18:28:17 +0000
(18:28 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 7 Oct 2005 18:28:17 +0000
(18:28 +0000)
SVN-Revision: 2068
openwrt/package/webif/files/usr/lib/webif/apply.sh
patch
|
blob
|
history
diff --git
a/openwrt/package/webif/files/usr/lib/webif/apply.sh
b/openwrt/package/webif/files/usr/lib/webif/apply.sh
index 9cfc17634c92a0d0f52d5f6c958dbfc6bd357c03..46aede4ba05f2c30cbd163c223197630804b1889 100644
(file)
--- a/
openwrt/package/webif/files/usr/lib/webif/apply.sh
+++ b/
openwrt/package/webif/files/usr/lib/webif/apply.sh
@@
-12,6
+12,9
@@
HANDLERS_file='
ethers) rm -f /etc/ethers; mv $config /etc/ethers; killall -HUP dnsmasq ;;
'
+# for some reason a for loop with "." doesn't work
+eval "$(cat /usr/lib/webif/apply-*.sh 2>&-)"
+
reload_network() {
echo Reloading networking settings ...
grep '^wan_' config-network >&- 2>&- && {