mirror of https://github.com/ventoy/Ventoy.git
bugfix
This commit is contained in:
parent
72f5710b88
commit
b77ef718b4
|
@ -20,7 +20,7 @@
|
||||||
. $VTOY_PATH/hook/ventoy-os-lib.sh
|
. $VTOY_PATH/hook/ventoy-os-lib.sh
|
||||||
|
|
||||||
$BUSYBOX_PATH/mkdir /dev
|
$BUSYBOX_PATH/mkdir /dev
|
||||||
$BUSYBOX_PATH/mknod -m 660 /dev/console b 5 1
|
$BUSYBOX_PATH/mknod -m 660 /dev/console c 5 1
|
||||||
|
|
||||||
$SED "/for device in/i $BUSYBOX_PATH/sh $VTOY_PATH/hook/aryalinux/disk_hook.sh" -i /init
|
$SED "/for device in/i $BUSYBOX_PATH/sh $VTOY_PATH/hook/aryalinux/disk_hook.sh" -i /init
|
||||||
#$SED "/for device in/i exec $BUSYBOX_PATH/sh" -i /init
|
#$SED "/for device in/i exec $BUSYBOX_PATH/sh" -i /init
|
||||||
|
|
|
@ -60,7 +60,7 @@ fi
|
||||||
if [ -e /etc/initrd.functions ] && $GREP -q 'HPIP' /etc/initrd.functions; then
|
if [ -e /etc/initrd.functions ] && $GREP -q 'HPIP' /etc/initrd.functions; then
|
||||||
echo "HPIP" >> $VTLOG
|
echo "HPIP" >> $VTLOG
|
||||||
$BUSYBOX_PATH/mkdir /dev
|
$BUSYBOX_PATH/mkdir /dev
|
||||||
$BUSYBOX_PATH/mknod -m 660 /dev/console b 5 1
|
$BUSYBOX_PATH/mknod -m 660 /dev/console c 5 1
|
||||||
$SED "/CD_DEVICES=/a $BUSYBOX_PATH/sh $VTOY_PATH/hook/suse/disk_hook.sh" -i /etc/initrd.functions
|
$SED "/CD_DEVICES=/a $BUSYBOX_PATH/sh $VTOY_PATH/hook/suse/disk_hook.sh" -i /etc/initrd.functions
|
||||||
$SED "/CD_DEVICES=/a CD_DEVICES=\"/dev/ventoy \$CD_DEVICES\"" -i /etc/initrd.functions
|
$SED "/CD_DEVICES=/a CD_DEVICES=\"/dev/ventoy \$CD_DEVICES\"" -i /etc/initrd.functions
|
||||||
elif [ -f /scripts/udev_setup ]; then
|
elif [ -f /scripts/udev_setup ]; then
|
||||||
|
|
Loading…
Reference in New Issue