]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
Fix the boot issue for pfSense 2.7.x (#2775)
[Ventoy.git] / INSTALL / grub / grub.cfg
index d1fb2b4e3d4330a9a179d735b6df3304a2cbde3d..5bb87aa4a5f5dc1d16c9a5cb8ba5c3d404aaef1f 100644 (file)
@@ -516,6 +516,13 @@ function ventoy_freebsd_proc {
         fi
     fi
 
+    if [ "$vt_freebsd_ver" = "14.x" ]; then
+        if [ -e (loop)/boot/lua/brand-pfSense.lua ]; then
+            set vtFreeBsdDistro=pfSense
+        fi
+    fi
+
+
     if [ -n "${vtdebug_flag}" ]; then
         echo "This is $vtFreeBsdDistro $vt_freebsd_ver ${vt_freebsd_bit}bit"
     fi