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
ab0f25d0
Commit
ab0f25d0
authored
Mar 06, 2022
by
longpanda
Browse files
Fixe the issue when booting PrimeOS 2.0.1
parent
ff14c07c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
IMG/cpio/ventoy/ventoy_chain.sh
IMG/cpio/ventoy/ventoy_chain.sh
+5
-1
No files found.
IMG/cpio/ventoy/ventoy_chain.sh
View file @
ab0f25d0
...
...
@@ -52,8 +52,12 @@ ventoy_get_os_type() {
fi
fi
# PrimeOS :
if
$GREP
-q
'PrimeOS'
/proc/version
;
then
echo
'primeos'
;
return
# Debian :
if
$GREP
-q
'[Dd]ebian'
/proc/version
;
then
el
if
$GREP
-q
'[Dd]ebian'
/proc/version
;
then
echo
'debian'
;
return
# Ubuntu : do the same process with debian
...
...
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