mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 10:01:32 +02:00
61b2c378ae
procd is the new OpenWrt process management daemon. It keeps track of processes started from init scripts (via ubus calls), and can suppress redundant service start/restart requests when the config/environment has not changed. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34865 3c298f89-4303-0410-b956-a3cf2f4a3e73
20 lines
195 B
Bash
20 lines
195 B
Bash
#!/bin/sh /etc/rc.common
|
|
|
|
START=11
|
|
|
|
start_stop() {
|
|
start-stop-daemon $1 -b -m -p /var/run/procd.pid -x /sbin/procd
|
|
}
|
|
|
|
start() {
|
|
start_stop -S
|
|
}
|
|
|
|
reload() {
|
|
return
|
|
}
|
|
|
|
stop() {
|
|
start_stop -K
|
|
}
|