]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
alsa: remove kernel module unload at uninstall
authorArne Fitzenreiter <arne_f@ipfire.org>
Tue, 19 Dec 2023 10:44:03 +0000 (11:44 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Tue, 19 Dec 2023 10:44:03 +0000 (11:44 +0100)
this sometimes result in unstable/crashing kernel.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/paks/alsa/uninstall.sh

index ce88c294bc9a210841227a44a24a6ac15f9c0f98..a02e2bbf9e1dc8ecb6098c71980178aec717bea9 100644 (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