mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-27 01:44:25 +00:00
scripts/functions: panic() don't abort on modprobe failures
This is not the point one wants to see the function to abort, if modprobe fails on one of those modules, just continue. Closes: #674484 Reported-by: Frédéric Brière <fbriere@fbriere.net> Signed-off-by: maximilian attems <max@stro.at>
This commit is contained in:
parent
3ff8ee6f3e
commit
df4ffdf97c
@ -44,12 +44,12 @@ panic()
|
||||
sleep ${panic}
|
||||
reboot
|
||||
fi
|
||||
modprobe -v i8042
|
||||
modprobe -v atkbd
|
||||
modprobe -v ehci-hcd
|
||||
modprobe -v uhci-hcd
|
||||
modprobe -v ohci-hcd
|
||||
modprobe -v usbhid
|
||||
modprobe -v i8042 || true
|
||||
modprobe -v atkbd || true
|
||||
modprobe -v ehci-hcd || true
|
||||
modprobe -v uhci-hcd || true
|
||||
modprobe -v ohci-hcd || true
|
||||
modprobe -v usbhid || true
|
||||
REASON="$@" PS1='(initramfs) ' /bin/sh -i </dev/console >/dev/console 2>&1
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user