1 #!/bin/sh /etc/rc.common
3 PIDFILE=/var/run/netifd.pid
7 [ -e /proc/sys/kernel/core_pattern ] && {
9 echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern
11 start-stop-daemon -S -b -m -p $PIDFILE -x /sbin/netifd
16 ubus call network reload
20 [ -e "$PIDFILE" ] || return
21 start-stop-daemon -K -p $PIDFILE -x /sbin/netifd