Welcome
|
FAQ
|
Downloads
|
Wiki
Tiny Core Linux
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Community gatherings on Freenode at
#tinycorelinux
(
webchat
)
Home
Help
Login
Register
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
[solved] Starting service from ondemand
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [solved] Starting service from ondemand (Read 1465 times)
uggla
Sr. Member
Posts: 438
[solved] Starting service from ondemand
«
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
«
Last Edit: October 06, 2010, 08:26:49 AM by uggla
»
Logged
uggla
Sr. Member
Posts: 438
Re: Starting service from ondemand
«
Reply #1 on:
October 06, 2010, 08:26:15 AM »
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
Logged
Juanito
Administrator
Hero Member
Posts: 14815
Re: [solved] Starting service from ondemand
«
Reply #2 on:
October 06, 2010, 08:50:45 AM »
..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
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Tiny Core Linux
»
Tiny Core Base
»
TCB Q&A Forum
»
[solved] Starting service from ondemand