Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'And Yet Another Issue...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
And Yet Another Issue...
Authored by: EatingPie on Dec 02, '03 08:58:21PM

Cups respawns (restarts) even if you kill it via "kill -9 PID" as suggested in the hint.

Which leads to a question... how do you permanently disable cups?

---
-Pie
<http://www.storybytes.com>



[ Reply to This | # ]
Disable CUPS...
Authored by: gatorparrots on Dec 03, '03 01:43:12AM
Disabling CUPS is fairly simple:
cd /System/Library/StartupItems/PrintingServices/
sudo cp -p PrintingServices PrintingServices.default
sudo pico PrintingServices
add "exit 0" after the !/bin/sh shebang line, so the script starts:
!/bin/sh
exit 0
Ctrl+o to write out the file, ctrl+x to exit pico.

[ Reply to This | # ]
How bout a TEMPORARY disable?
Authored by: EatingPie on Dec 05, '03 03:33:40PM

Your suggestion permanently disables CUPS. I'm looking for a command-line solution that kills it until I restart the computer or run it by hand. (IE, no editing of the startup script).


---
-Pie
<http://www.storybytes.com>



[ Reply to This | # ]
sudo /System/Library/StartupItems/PrintingServices/PrintingServices stop
Authored by: EatingPie on Dec 05, '03 03:40:11PM

Whelp I chased my tail to the point of even downloading and recompiling cups. But the solution was simple:


sudo /System/Library/StartupItems/PrintingServices/PrintingServices stop

---
-Pie


[ Reply to This | # ]