projects
/
hvlinux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed problems with Lilypond-2.16 by installing guile1
[hvlinux.git]
/
stage3
/
bootscripts
/
saslauthd
diff --git
a/stage3/bootscripts/saslauthd
b/stage3/bootscripts/saslauthd
index
6d271a5
..
3fdba43
100755
(executable)
--- a/
stage3/bootscripts/saslauthd
+++ b/
stage3/bootscripts/saslauthd
@@
-7,19
+7,23
@@
source /etc/rc.d/init.d/functions
log_script_name "$0 $*"
log_script_name "$0 $*"
+DAEMON=/usr/sbin/saslauthd
+DAEMON_DESC="SASL authentication daemon"
+DAEMON_OPTS="-a shadow"
+
case "$1" in
start)
case "$1" in
start)
- cmd_run_log_box_warn "
SASL daemon start" loadproc /usr/sbin/saslauthd -a shadow
+ cmd_run_log_box_warn "
${DAEMON_DESC} start" loadproc ${DAEMON} ${DAEMON_OPTS}
;;
stop)
;;
stop)
- cmd_run_log_box_warn "
SASL daemon stop" killproc saslauthd
+ cmd_run_log_box_warn "
${DAEMON_DESC} stop" killproc ${DAEMON}
;;
;;
-
+
status)
status)
- statusproc
saslauthd
+ statusproc
${DAEMON}
;;
;;
-
+
restart)
$0 stop
sleep 1
restart)
$0 stop
sleep 1