Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
ecbf45de
Commit
ecbf45de
authored
Jun 19, 2022
by
longpanda
Browse files
Fix an issue when booting StorageCraft StorageProtect SPX. (#1683)
parent
b976923f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
+6
-1
No files found.
IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
View file @
ecbf45de
...
@@ -49,7 +49,12 @@ if is_inotify_ventoy_part $3; then
...
@@ -49,7 +49,12 @@ if is_inotify_ventoy_part $3; then
if
[
-e
$vtGenRulFile
]
&&
$GREP
-q
dmsquash
$vtGenRulFile
;
then
if
[
-e
$vtGenRulFile
]
&&
$GREP
-q
dmsquash
$vtGenRulFile
;
then
vtScript
=
$(
$GREP
-m1
'RUN.='
$vtGenRulFile
|
$AWK
-F
'RUN.='
'{print $2}'
|
$SED
's/"\(.*\)".*/\1/'
)
vtScript
=
$(
$GREP
-m1
'RUN.='
$vtGenRulFile
|
$AWK
-F
'RUN.='
'{print $2}'
|
$SED
's/"\(.*\)".*/\1/'
)
vtlog
"vtScript=
$vtScript
"
vtlog
"vtScript=
$vtScript
"
$vtScript
if
$GREP
-q
SCRE /proc/cmdline
;
then
/sbin/dmsquash-live-root /dev/ventoy
else
$vtScript
fi
else
else
vtlog
"
$vtGenRulFile
not exist..."
vtlog
"
$vtGenRulFile
not exist..."
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment