X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/c5fd64d21c4e0fb79d6d84015da85caa7023f0bc..HEAD:/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