mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 22:47:56 +00:00
55aeabae10
SVN-Revision: 28499
19 lines
286 B
Bash
Executable File
19 lines
286 B
Bash
Executable File
#!/bin/sh /etc/rc.common
|
|
START=20
|
|
PIDFILE=/var/run/netifd.pid
|
|
|
|
start() {
|
|
stop
|
|
start-stop-daemon -S -b -m -p $PIDFILE -x /sbin/netifd
|
|
}
|
|
|
|
reload() {
|
|
ubus call network reload
|
|
}
|
|
|
|
stop() {
|
|
[ -e "$PIDFILE" ] || return
|
|
start-stop-daemon -K -p $PIDFILE -x /sbin/netifd
|
|
rm -f "$PIDFILE"
|
|
}
|