diff --git a/init.d/alsa b/init.d/alsa new file mode 100755 index 0000000..86bbed5 --- /dev/null +++ b/init.d/alsa @@ -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 +}