diff options
author | Lukc <lukc@upyum.com> | 2010-12-12 11:56:26 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-12 11:56:26 +0100 |
commit | c080bceaf48f763a6ba74b6b697fdcf62b809ada (patch) | |
tree | 808bf0ee42f040476c508fc1a5fb080499dca546 /inetutils/inetd | |
parent | 02bf6ae4936620397c59c46cfa5eb67830d69f2d (diff) | |
download | opt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.tar.gz opt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.tar.bz2 opt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.tar.xz opt-c080bceaf48f763a6ba74b6b697fdcf62b809ada.zip |
Recette de inetutils ajoutée.
Diffstat (limited to 'inetutils/inetd')
-rwxr-xr-x | inetutils/inetd | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/inetutils/inetd b/inetutils/inetd new file mode 100755 index 0000000..b70001c --- /dev/null +++ b/inetutils/inetd @@ -0,0 +1,23 @@ +#!/bin/sh +# +# /etc/rc.d/inetd: start/stop inet daemon +# + +case $1 in +start) + /usr/sbin/inetd + ;; +stop) + killall -q /usr/sbin/inetd + ;; +restart) + $0 stop + sleep 2 + $0 start + ;; +*) + echo "usage: $0 [start|stop|restart]" + ;; +esac + +# End of file |