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
33cc1e27
Commit
33cc1e27
authored
Mar 18, 2021
by
longpanda
Browse files
Support latest CentOS Stream 8 distro. (#799)
parent
291e0a3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
+3
-1
No files found.
IMG/cpio/ventoy/hook/rhel7/ventoy-inotifyd-hook.sh
View file @
33cc1e27
...
@@ -46,7 +46,9 @@ if is_inotify_ventoy_part $3; then
...
@@ -46,7 +46,9 @@ if is_inotify_ventoy_part $3; then
vtRhel8Ver
=
$(
$SED
"s#.*8
\.\(
[0-9]*
\)
.*#
\1
#"
/etc/system-release
)
vtRhel8Ver
=
$(
$SED
"s#.*8
\.\(
[0-9]*
\)
.*#
\1
#"
/etc/system-release
)
if
[
$vtRhel8Ver
-ge
3
]
;
then
if
[
$vtRhel8Ver
-ge
3
]
;
then
vtReplaceOpt
=
""
vtReplaceOpt
=
""
fi
elif
$GREP
-q
"Stream"
/etc/system-release
;
then
vtReplaceOpt
=
""
fi
fi
fi
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/default/udev_disk_hook.sh
$3
$vtReplaceOpt
$BUSYBOX_PATH
/sh
$VTOY_PATH
/hook/default/udev_disk_hook.sh
$3
$vtReplaceOpt
...
...
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