]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh
Update ko_KR.json (#2286)
[Ventoy.git] / IMG / cpio / ventoy / hook / rhel7 / ventoy-hook.sh
index d1cbdac199b3dd9f3c2da6524b952e70b323c008..3ab212bdbb99038a23923ae3158036d1693797a9 100644 (file)
@@ -125,6 +125,13 @@ if $GREP -i -q Fedora /proc/version; then
     fi
 fi
 
     fi
 fi
 
+if $GREP -i -q Fedora /etc/os-release; then
+    if $GREP -q 'Server Edition' /etc/os-release; then
+        vtNeedRepo="yes"
+    fi
+fi
+
+
 echo "vtNeedRepo=$vtNeedRepo" >> $VTLOG
 
 if [ "$vtNeedRepo" = "yes" ]; then
 echo "vtNeedRepo=$vtNeedRepo" >> $VTLOG
 
 if [ "$vtNeedRepo" = "yes" ]; then
@@ -159,7 +166,7 @@ if $GREP -q SCRE /proc/cmdline; then
 fi
 
 if $GREP -qw 'SA[.]1' /proc/cmdline; then
 fi
 
 if $GREP -qw 'SA[.]1' /proc/cmdline; then
-if $GREP -qw 'SA[.]2' /proc/cmdline; then
+if $GREP -qw 'writable.fsimg' /proc/cmdline; then
 if $GREP -qw 'rw'     /proc/cmdline; then
     echo 1 > $VTOY_PATH/distmagic/DELL_PER
 fi
 if $GREP -qw 'rw'     /proc/cmdline; then
     echo 1 > $VTOY_PATH/distmagic/DELL_PER
 fi