fix for busybox modprobe

thanks @rmys for testing.
This commit is contained in:
Ertuğrul Erata
2017-03-12 22:29:03 +03:00
parent 8fd391357b
commit 01962f405b
2 changed files with 7 additions and 7 deletions
+6 -6
View File
@@ -105,7 +105,7 @@ probe_pci_devices() {
[ -f $module ] || continue
MODULES="$MODULES $(cat $module)"
done
modprobe -bqa $MODULES
modprobe -bq $MODULES
}
probe_usb_devices() {
@@ -115,12 +115,12 @@ probe_usb_devices() {
[ -f $module ] || continue
MODULES="$MODULES $(cat $module)"
done
modprobe -bqa $MODULES
modprobe -bq $MODULES
}
probe_raid() {
info "Probing RAID devices"
modprobe -bqa dm-mod raid0 raid1 raid10 raid456
modprobe -bq dm-mod raid0 raid1 raid10 raid456
if [ -x /sbin/mdadm ]
then
/sbin/mdadm --examine --scan > /etc/mdadm.conf
@@ -130,7 +130,7 @@ probe_raid() {
probe_lvm() {
info "Probing LVM devices"
modprobe -qa dm-mod
modprobe -q dm-mod
if [ -x /sbin/lvm ]
then
/sbin/lvm vgscan --ignorelockingfailure &> /dev/null
@@ -144,7 +144,7 @@ probe_virtio_devices() {
[ -f $module ] || continue
MODULES="$MODULES $(cat $module)"
done
modprobe -bqa $MODULES
modprobe -bq $MODULES
}
#################################
@@ -518,7 +518,7 @@ then
manage_tmpfs
# modprobe filesystems that are not in kernel, for live disks
modprobe -qa nls_cp857 nls_utf8 vfat
modprobe -q nls_cp857 nls_utf8 vfat
for i in `seq 50`
do
+1 -1
View File
@@ -45,7 +45,7 @@
<History>
<Update release="3">
<Date>2017-02-15</Date>
<Date>2017-03-12</Date>
<Version>1.0.7</Version>
<Comment>Release Bump</Comment>
<Name>PisiLinux Community</Name>