alsa daemon service

This commit is contained in:
Jack L. Frost 2014-02-24 11:03:39 +04:00
parent 1c3cc01b36
commit 8025f1a92f
1 changed files with 14 additions and 0 deletions

14
init.d/alsa Executable file
View 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
}