diff options
Diffstat (limited to 'main/busybox-initscripts/dnsd.initd')
-rw-r--r-- | main/busybox-initscripts/dnsd.initd | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/main/busybox-initscripts/dnsd.initd b/main/busybox-initscripts/dnsd.initd index e11a73d1d6..3afce3a37c 100644 --- a/main/busybox-initscripts/dnsd.initd +++ b/main/busybox-initscripts/dnsd.initd @@ -1,18 +1,12 @@ #!/sbin/runscript +name="busybox $SVCNAME" +command="/usr/sbin/$SVCNAME" +command_args="$DNSD_OPTS" +pidfile="/var/run/$SVCNAME.pid" + depend() { need net after firewall } -start() { - ebegin "Starting dnsd" - start-stop-daemon --start --exec /usr/sbin/dnsd -- -d $DNSD_OPTS - eend $? -} - -stop () { - ebegin "Stopping dnsd" - start-stop-daemon --stop --exec /usr/sbin/dnsd - eend $? -} |