You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
394 B
23 lines
394 B
#!/sbin/runscript
|
|
|
|
depend() {
|
|
use net
|
|
@neededservices@
|
|
before nfs
|
|
after logger
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting cupsd"
|
|
checkpath -q -d -m 0755 -o root:lp /run/cups
|
|
checkpath -q -d -m 0511 -o lp:lpadmin /run/cups/certs
|
|
start-stop-daemon --start --quiet --exec /usr/sbin/cupsd
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping cupsd"
|
|
start-stop-daemon --stop --quiet --exec /usr/sbin/cupsd
|
|
eend $?
|
|
}
|