X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage3%2Fbootscripts%2Fsaslauthd;h=3fdba43fbe3982b8d7c25036c886d047b37f0042;hb=3a7d016a0246156de63a6f98bbf5be2e95230060;hp=6d271a5cb6c655ec4ac989ec6c9ce77d23a77591;hpb=c40856bcf84d4704a5678d35456ee17e7168da4e;p=hvlinux.git diff --git a/stage3/bootscripts/saslauthd b/stage3/bootscripts/saslauthd index 6d271a5..3fdba43 100755 --- a/stage3/bootscripts/saslauthd +++ b/stage3/bootscripts/saslauthd @@ -7,19 +7,23 @@ source /etc/rc.d/init.d/functions log_script_name "$0 $*" +DAEMON=/usr/sbin/saslauthd +DAEMON_DESC="SASL authentication daemon" +DAEMON_OPTS="-a shadow" + 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) - cmd_run_log_box_warn "SASL daemon stop" killproc saslauthd + cmd_run_log_box_warn "${DAEMON_DESC} stop" killproc ${DAEMON} ;; - + status) - statusproc saslauthd + statusproc ${DAEMON} ;; - + restart) $0 stop sleep 1