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