# chkconfig: 2345 90 10
# description: Startup/shutdown script for the Common UNIX \
# Printing System (CUPS).
+# processname: cupsd
#
# Source function library
rm -f /var/lock/subsys/cups >/dev/null 2>&1
else
msg_not_running CUPS
- fi
+ fi
;;
restart)
$0 stop
killproc cupsd -HUP
RETVAL=$?
else
- msg_not_running CUPS >&2
+ msg_not_running CUPS
exit 7
fi
;;
exit $?
;;
*)
- # show "Usage: %s {start|stop|restart|reload|force-reload|status}"
msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
exit 3
esac