X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/99627752964e77e1e0365cc7395bf9803a7fb93f..8ef9732931bb298c8d5ffd66efcc4d79ad2cdbe2:/IMG/cpio/ventoy/loop/openwrt/ventoy-hook.sh diff --git a/IMG/cpio/ventoy/loop/openwrt/ventoy-hook.sh b/IMG/cpio/ventoy/loop/openwrt/ventoy-hook.sh index d978585..f6c1c8c 100644 --- a/IMG/cpio/ventoy/loop/openwrt/ventoy-hook.sh +++ b/IMG/cpio/ventoy/loop/openwrt/ventoy-hook.sh @@ -19,12 +19,10 @@ . $VTOY_PATH/hook/ventoy-os-lib.sh -$BUSYBOX_PATH/mkdir /sys -$BUSYBOX_PATH/mount -t proc proc /proc -$BUSYBOX_PATH/mount -t sysfs sys /sys +VTPATH_OLD=$PATH; PATH=$BUSYBOX_PATH:$VTOY_PATH/tool:$PATH -$BUSYBOX_PATH/mdev -s +mkdir /sys +mount -t sysfs sys /sys +mdev -s -#$BUSYBOX_PATH/sh $VTOY_PATH/loop/openwrt/ventoy-disk.sh - -exec $BUSYBOX_PATH/sh +sh $VTOY_PATH/loop/openwrt/ventoy-disk.sh