alsa: remove kernel module unload at uninstall

this sometimes result in unstable/crashing kernel.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2023-12-19 11:44:03 +01:00
parent cb58d049e0
commit 6c85ffbfd4

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