Author: blogic
Date: 2014-06-05 12:56:14 +0200 (Thu, 05 Jun 2014)
New Revision: 41010

Modified:
   trunk/package/network/config/netifd/files/etc/init.d/network
Log:
netfid: make procd watch the network.interface object for events

Signed-off-by: John Crispin <[email protected]>

Modified: trunk/package/network/config/netifd/files/etc/init.d/network
===================================================================
--- trunk/package/network/config/netifd/files/etc/init.d/network        
2014-06-05 10:56:10 UTC (rev 41009)
+++ trunk/package/network/config/netifd/files/etc/init.d/network        
2014-06-05 10:56:14 UTC (rev 41010)
@@ -18,6 +18,7 @@
        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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to