forked from Spark/ssm-services
alsa daemon service
This commit is contained in:
parent
1c3cc01b36
commit
8025f1a92f
14
init.d/alsa
Executable file
14
init.d/alsa
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/usr/bin/env watchman
|
||||||
|
|
||||||
|
service_command='/bin/alsactl'
|
||||||
|
service_args="daemon"
|
||||||
|
|
||||||
|
start() {
|
||||||
|
"$service_command" restore
|
||||||
|
watchman.start
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
watchman.stop
|
||||||
|
"$service_command" store
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user