From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- opt/alsa-utils/rc.alsa | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 opt/alsa-utils/rc.alsa (limited to 'opt/alsa-utils/rc.alsa') diff --git a/opt/alsa-utils/rc.alsa b/opt/alsa-utils/rc.alsa new file mode 100644 index 0000000..a7498a2 --- /dev/null +++ b/opt/alsa-utils/rc.alsa @@ -0,0 +1,26 @@ +#!/bin/sh +# +# /etc/rc.d/alsa: store/restore ALSA mixer levels +# + +# location of the alsactl executable +ALSACTL=/usr/sbin/alsactl + +case $1 in + start) + $ALSACTL restore + ;; + stop) + $ALSACTL store + ;; + restart) + $0 stop + sleep 2 + $0 start + ;; + *) + echo "Usage: $0 [start|stop|restart]" + ;; +esac + +# End of file -- cgit v1.3.1