mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-17 06:23:00 +02:00
alsa: don't report failed module loads
this will stop pakfire if the kernel was updated before the alsa update. Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user