X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/13b2192a5933d2604b3ad2e4e48d3302a19ad8e5..b0cacd668650a6c78945ea1c20f096d8909be608:/IMG/cpio/ventoy/hook/debian/360-switch-root.sh diff --git a/IMG/cpio/ventoy/hook/debian/360-switch-root.sh b/IMG/cpio/ventoy/hook/debian/360-switch-root.sh index 7695849..63da14d 100644 --- a/IMG/cpio/ventoy/hook/debian/360-switch-root.sh +++ b/IMG/cpio/ventoy/hook/debian/360-switch-root.sh @@ -21,7 +21,9 @@ VTPATH_OLD=$PATH; PATH=$BUSYBOX_PATH:$VTOY_PATH/tool:$PATH +mkdir -p /pup_new/mnt/sdz +mv $VTOY_PATH/360Disk /pup_new/mnt/sdz/ +[ -f /pup_new/root/scripts/cd_plugin ] && echo "/root/scripts/cd_plugin sdz" >> /pup_new/etc/rc.d/rc.local PATH=$VTPATH_OLD -set_ventoy_hook_finish