]>
git.ipfire.org Git - thirdparty/cups.git/blob - init/cups.osx
4 # PrintingServices - a.k.a. CUPS
11 if [ "${CUPS:=-AUTOMATIC-}" = "-AUTOMATIC-" ]; then
12 ConsoleMessage
"Starting printing services"
14 elif [ "${CUPS:=-AUTOMATIC-}" = "-YES-" ]; then
15 ConsoleMessage
"Starting printing services"
22 # Until cupsd has a pid file...
23 pid
=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
24 if test "$pid" != ""; then
25 ConsoleMessage
"Stopping printing services"
32 # Until cupsd has a pid file...
33 pid
=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
34 if test "x$pid" != x
; then
35 ConsoleMessage
"Restarting printing services"
38 if [ "${CUPS:=-AUTOMATIC-}" = "-AUTOMATIC-" -o "${CUPS:=-AUTOMATIC-}" = "-YES-" ]; then
39 ConsoleMessage
"Starting printing services"