diff --git a/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh b/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh index 557566f4..1900fd00 100644 --- a/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/aryalinux/ventoy-hook.sh @@ -20,7 +20,7 @@ . $VTOY_PATH/hook/ventoy-os-lib.sh $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 exec $BUSYBOX_PATH/sh" -i /init diff --git a/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh b/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh index da1eb2c6..36188715 100644 --- a/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/suse/ventoy-hook.sh @@ -60,7 +60,7 @@ fi if [ -e /etc/initrd.functions ] && $GREP -q 'HPIP' /etc/initrd.functions; then echo "HPIP" >> $VTLOG $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 CD_DEVICES=\"/dev/ventoy \$CD_DEVICES\"" -i /etc/initrd.functions elif [ -f /scripts/udev_setup ]; then