]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/debian/truenas-hook.sh
1.1.07 release
[Ventoy.git] / IMG / cpio / ventoy / hook / debian / truenas-hook.sh
index 6a56a8e6748e0a425ef07d0e68ba2877a5c96d82..d7d90f47f17ddd08f502803fb586801e1e5b2420 100644 (file)
@@ -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