9 # Verify that the configuration file exists
10 if [ ! -f /etc/aiccu.conf ]; then
11 eerror "AICCU Configuration file /etc/aiccu.conf doesn't exist"
15 # Verify that the configuration is correct
16 if [ `grep -c "^username" /etc/aiccu.conf 2>/dev/null` -ne 1 ]; then
17 eerror "AICCU is not configured, edit /etc/aiccu.conf first"
24 checkconfig || return 1
25 ebegin "Starting aiccu"
26 start-stop-daemon --start --oknodo --quiet --exec /usr/sbin/aiccu -- start
32 ebegin "Stopping aiccu"
33 start-stop-daemon --stop --oknodo --quiet --exec /usr/sbin/aiccu -- stop