projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mise à jour git-1.8
[hvlinux.git]
/
stage2
/
bootscripts
/
acpid
diff --git
a/stage2/bootscripts/acpid
b/stage2/bootscripts/acpid
index
362d2fe
..
c133267
100755
(executable)
--- a/
stage2/bootscripts/acpid
+++ b/
stage2/bootscripts/acpid
@@
-5,19
+5,19
@@
# Source functions library
source /etc/rc.d/init.d/functions
# Source functions library
source /etc/rc.d/init.d/functions
-DAEMON=acpid
-DAEMON_DESC="ACPI"
-DAEMON_OPTS="--netlink --logevents"
-
log_script_name "$0 $*"
log_script_name "$0 $*"
+DAEMON=/usr/sbin/acpid
+DAEMON_DESC="ACPI daemon"
+DAEMON_OPTS="--netlink --logevents"
+
case "$1" in
start)
case "$1" in
start)
- cmd_run_log_box_warn "${DAEMON_DESC}
daemon start" loadproc /usr/sbin/
${DAEMON} ${DAEMON_OPTS}
+ cmd_run_log_box_warn "${DAEMON_DESC}
start" loadproc
${DAEMON} ${DAEMON_OPTS}
;;
stop)
;;
stop)
- cmd_run_log_box_warn "${DAEMON_DESC}
daemon
stop" killproc ${DAEMON}
+ cmd_run_log_box_warn "${DAEMON_DESC} stop" killproc ${DAEMON}
;;
status)
;;
status)