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