Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: uggla on October 06, 2010, 02:26:48 AM
-
I want to start cups from an ondemand item. I've added the following line but it doesn't work:
[ $(which cups) ] && exec sudo /etc/init.d/cups start
Could someone please give me the right syntax?
regards
/Uggla
-
Nevermind. I wasn't understanding the purpose of the [ $(which cups) ]. I checked it up and and found that I should remove it to make it work.
/Uggla
-
..and it also depends on the version of the cups extension you use - for cups.tcz, that would be /usr/local/etc/init.d/cups start
..or you could use the services right-click menu item to start cups