X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/6fbc08cfcbfdf97fa2457739f47dced84d857799..2dafe755097057a4faf5e240f0abc98b9b4cdcb8:/IMG/cpio/ventoy/hook/debian/truenas-hook.sh diff --git a/IMG/cpio/ventoy/hook/debian/truenas-hook.sh b/IMG/cpio/ventoy/hook/debian/truenas-hook.sh index 6a56a8e..d7d90f4 100644 --- a/IMG/cpio/ventoy/hook/debian/truenas-hook.sh +++ b/IMG/cpio/ventoy/hook/debian/truenas-hook.sh @@ -23,4 +23,5 @@ if [ -e /init ] && $GREP -q '^mountroot$' /init; then $SED "/^mountroot$/i\\export LIVEMEDIA=/dev/mapper/ventoy" -i /init $SED "/^mountroot$/i\\export LIVE_MEDIA=/dev/mapper/ventoy" -i /init $SED "/^mountroot$/i\\export FROMISO=$VTOY_PATH/mnt/fuse/ventoy.iso" -i /init + $SED "/exec *run-init/i\\$BUSYBOX_PATH/sh $VTOY_PATH/hook/debian/truenas-bottom.sh" -i /init fi