X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/a18aa36c012d0f7ed1ebc3674f852c06253f631e..daeb96ce800c0bef40f3a70ef0e1c27ac2b694ea:/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh?ds=sidebyside diff --git a/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh b/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh index d1cbdac..7b43a79 100644 --- a/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh +++ b/IMG/cpio/ventoy/hook/rhel7/ventoy-hook.sh @@ -159,7 +159,7 @@ if $GREP -q SCRE /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