projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Enlevé configuration inutile des polices dans /etc/fonts/local.conf
[hvlinux.git]
/
stage3
/
bootscripts
/
xinetd
diff --git
a/stage3/bootscripts/xinetd
b/stage3/bootscripts/xinetd
index
75e1221
..
566fcec
100755
(executable)
--- a/
stage3/bootscripts/xinetd
+++ b/
stage3/bootscripts/xinetd
@@
-3,32
+3,33
@@
# Source functions library
source /etc/rc.d/init.d/functions
# Source functions library
source /etc/rc.d/init.d/functions
-DAEMON=xinetd
+DAEMON=/usr/sbin/xinetd
+DAEMON_DESC="xinetd daemon"
+DAEMON_OPTS=""
case "$1" in
start)
case "$1" in
start)
- cmd_run_log_box_warn "
Starting xinetd daemon" loadproc ${DAEMON
}
+ cmd_run_log_box_warn "
${DAEMON_DESC} start" loadproc ${DAEMON} ${DAEMON_OPTS
}
;;
;;
-
+
stop)
stop)
- cmd_run_log_box_warn "
Stopping xinetd daemon
" killproc ${DAEMON}
+ cmd_run_log_box_warn "
${DAEMON_DESC} stop
" killproc ${DAEMON}
;;
;;
-
+
restart)
$0 stop
sleep 1
$0 start
;;
restart)
$0 stop
sleep 1
$0 start
;;
-
+
status)
statusproc ${DAEMON}
;;
status)
statusproc ${DAEMON}
;;
-
+
*)
echo "Usage: $0 {start|stop|restart|status}"
exit ${EXIT_CODE_FAILURE}
;;
*)
echo "Usage: $0 {start|stop|restart|status}"
exit ${EXIT_CODE_FAILURE}
;;
-
esac
exit $?
esac
exit $?