#!/bin/sh PREFIX=/opt/courier-imap DAEMON=${PREFIX}/sbin/authdaemond echo -n "Courier authdaemond: " case $1 in start) echo "starting." ${DAEMON} start ;; stop) echo "stopping." ${DAEMON} stop ;; restart) echo "restarting." ${DAEMON} restart ;; *) echo "unknown command: $1" ;; esac