alsa daemon service
This commit is contained in:
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
|
||||||
|
}
|
Reference in New Issue
Block a user