projects
/
openwrt
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91de9c5
)
netfid: make procd watch the network.interface object for events
author
John Crispin
<john@openwrt.org>
Thu, 5 Jun 2014 10:56:14 +0000
(10:56 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 5 Jun 2014 10:56:14 +0000
(10:56 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41010
package/network/config/netifd/files/etc/init.d/network
patch
|
blob
|
history
diff --git
a/package/network/config/netifd/files/etc/init.d/network
b/package/network/config/netifd/files/etc/init.d/network
index 2e22732a9f2027a3e26a17d20a640d63748840dd..8a65f05b410cd4f61376ca8cf9a5b171d48e8943 100755
(executable)
--- a/
package/network/config/netifd/files/etc/init.d/network
+++ b/
package/network/config/netifd/files/etc/init.d/network
@@
-18,6
+18,7
@@
start_service() {
procd_open_instance
procd_set_param command /sbin/netifd
procd_set_param respawn
+ procd_set_param watch network.interface
[ -e /proc/sys/kernel/core_pattern ] && {
procd_set_param limits core="unlimited"
echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern