fix for busybox modprobe
thanks @rmys for testing.
This commit is contained in:
@@ -105,7 +105,7 @@ probe_pci_devices() {
|
|||||||
[ -f $module ] || continue
|
[ -f $module ] || continue
|
||||||
MODULES="$MODULES $(cat $module)"
|
MODULES="$MODULES $(cat $module)"
|
||||||
done
|
done
|
||||||
modprobe -bqa $MODULES
|
modprobe -bq $MODULES
|
||||||
}
|
}
|
||||||
|
|
||||||
probe_usb_devices() {
|
probe_usb_devices() {
|
||||||
@@ -115,12 +115,12 @@ probe_usb_devices() {
|
|||||||
[ -f $module ] || continue
|
[ -f $module ] || continue
|
||||||
MODULES="$MODULES $(cat $module)"
|
MODULES="$MODULES $(cat $module)"
|
||||||
done
|
done
|
||||||
modprobe -bqa $MODULES
|
modprobe -bq $MODULES
|
||||||
}
|
}
|
||||||
|
|
||||||
probe_raid() {
|
probe_raid() {
|
||||||
info "Probing RAID devices"
|
info "Probing RAID devices"
|
||||||
modprobe -bqa dm-mod raid0 raid1 raid10 raid456
|
modprobe -bq dm-mod raid0 raid1 raid10 raid456
|
||||||
if [ -x /sbin/mdadm ]
|
if [ -x /sbin/mdadm ]
|
||||||
then
|
then
|
||||||
/sbin/mdadm --examine --scan > /etc/mdadm.conf
|
/sbin/mdadm --examine --scan > /etc/mdadm.conf
|
||||||
@@ -130,7 +130,7 @@ probe_raid() {
|
|||||||
|
|
||||||
probe_lvm() {
|
probe_lvm() {
|
||||||
info "Probing LVM devices"
|
info "Probing LVM devices"
|
||||||
modprobe -qa dm-mod
|
modprobe -q dm-mod
|
||||||
if [ -x /sbin/lvm ]
|
if [ -x /sbin/lvm ]
|
||||||
then
|
then
|
||||||
/sbin/lvm vgscan --ignorelockingfailure &> /dev/null
|
/sbin/lvm vgscan --ignorelockingfailure &> /dev/null
|
||||||
@@ -144,7 +144,7 @@ probe_virtio_devices() {
|
|||||||
[ -f $module ] || continue
|
[ -f $module ] || continue
|
||||||
MODULES="$MODULES $(cat $module)"
|
MODULES="$MODULES $(cat $module)"
|
||||||
done
|
done
|
||||||
modprobe -bqa $MODULES
|
modprobe -bq $MODULES
|
||||||
}
|
}
|
||||||
|
|
||||||
#################################
|
#################################
|
||||||
@@ -518,7 +518,7 @@ then
|
|||||||
manage_tmpfs
|
manage_tmpfs
|
||||||
|
|
||||||
# modprobe filesystems that are not in kernel, for live disks
|
# 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`
|
for i in `seq 50`
|
||||||
do
|
do
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
<History>
|
<History>
|
||||||
<Update release="3">
|
<Update release="3">
|
||||||
<Date>2017-02-15</Date>
|
<Date>2017-03-12</Date>
|
||||||
<Version>1.0.7</Version>
|
<Version>1.0.7</Version>
|
||||||
<Comment>Release Bump</Comment>
|
<Comment>Release Bump</Comment>
|
||||||
<Name>PisiLinux Community</Name>
|
<Name>PisiLinux Community</Name>
|
||||||
|
|||||||
Reference in New Issue
Block a user