]>
git.ipfire.org Git - thirdparty/cups.git/blob - cups.osx
4 # PrintingServices - a.k.a. CUPS
11 if [ "${CUPS:=-YES-}" = "-YES-" ]; then
12 ConsoleMessage
"Starting printing services"
19 # Until cupsd has a pid file...
20 pid
=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
21 if test "$pid" != ""; then
22 ConsoleMessage
"Stopping printing services"
29 # Until cupsd has a pid file...
30 pid
=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'`
31 if test "x$pid" != x
; then
32 ConsoleMessage
"Restarting printing services"