#!/bin/sh ## # PrintingServices - a.k.a. CUPS ## . /etc/rc.common StartService () { ConsoleMessage "Starting printing services" launchctl start org.cups.cupsd } StopService () { ConsoleMessage "Stopping printing services" launchctl stop org.cups.cupsd } RestartService () { ConsoleMessage "Restarting printing services" launchctl stop org.cups.cupsd launchctl start org.cups.cupsd } RunService "$1"