Merge remote-tracking branch 'origin/master' into next

This commit is contained in:
Arne Fitzenreiter
2023-12-19 17:55:21 +01:00
5 changed files with 89 additions and 99 deletions

View File

@@ -24,12 +24,12 @@
case "$1" in
start)
modprobe snd_pcm_oss >/dev/null 2>&1
modprobe snd_mixer_oss >/dev/null 2>&1
boot_mesg "Starting ALSA... Restoring volumes..."
modprobe snd_pcm_oss >/dev/null 2>&1 || failed=1
modprobe snd_mixer_oss >/dev/null 2>&1 || failed=1
(exit ${failed})
evaluate_retval
loadproc /usr/sbin/alsactl restore
evaluate_retval
exit 0
;;
stop)
boot_mesg "Stopping ALSA... Saving volumes..."

View File

@@ -24,9 +24,6 @@
. /opt/pakfire/lib/functions.sh
stop_service ${NAME}
make_backup ${NAME}
# unload alsa related modules
modprobe -r snd_pcm_oss >/dev/null 2>&1 || failed=1
modprobe -r snd_timer >/dev/null 2>&1 || failed=1
remove_files
rm -rf /etc/rc.d/rc*.d/*alsa
exit 0