4 changed files with 5 additions and 48 deletions
@ -1,24 +0,0 @@ |
|||
#!/bin/sh |
|||
|
|||
. /etc/init.d/globals |
|||
|
|||
case "$1" in |
|||
start) |
|||
/sbin/inetd |
|||
;; |
|||
stop) |
|||
read pid < /var/run/inetd.pid || exit 1 |
|||
kill $pid |
|||
;; |
|||
reload) |
|||
read pid < /var/run/inetd.pid || exit 1 |
|||
kill -HUP $pid |
|||
;; |
|||
restart) |
|||
$0 stop |
|||
$0 start |
|||
;; |
|||
*) |
|||
echo "[$BASENAME] Usage: $0 {start|restart|reload|stop}" |
|||
;; |
|||
esac |
@ -1,24 +0,0 @@ |
|||
#!/bin/sh |
|||
|
|||
. /etc/init.d/globals |
|||
|
|||
case "$1" in |
|||
start) |
|||
/sbin/inetd |
|||
;; |
|||
stop) |
|||
read pid < /var/run/inetd.pid || exit 1 |
|||
kill $pid |
|||
;; |
|||
reload) |
|||
read pid < /var/run/inetd.pid || exit 1 |
|||
kill -HUP $pid |
|||
;; |
|||
restart) |
|||
$0 stop |
|||
$0 start |
|||
;; |
|||
*) |
|||
echo "[$BASENAME] Usage: $0 {start|restart|reload|stop}" |
|||
;; |
|||
esac |
Loading…
Reference in new issue