saving uncommitted changes in /etc prior to emerge run
This commit is contained in:
20
init.d/cups-browsed
Executable file
20
init.d/cups-browsed
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/sbin/runscript
|
||||
|
||||
PIDFILE=/var/run/cups-browsed.pid
|
||||
|
||||
depend() {
|
||||
need cupsd
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting cups-browsed"
|
||||
start-stop-daemon --start --make-pidfile --pidfile "${PIDFILE}" \
|
||||
--background --quiet --exec /usr/sbin/cups-browsed
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping cups-browsed"
|
||||
start-stop-daemon --stop --pidfile "${PIDFILE}" --quiet --exec /usr/sbin/cupsd
|
||||
eend $?
|
||||
}
|
||||
Reference in New Issue
Block a user