mirror of https://github.com/ventoy/Ventoy.git
Fix the issue when booting Prime OS 2.1.0 (#1580)
This commit is contained in:
parent
682e8cdc42
commit
89addae48f
|
@ -21,5 +21,12 @@
|
|||
|
||||
$BUSYBOX_PATH/mkdir /dev
|
||||
|
||||
$SED '/Detecting *PrimeOS/a\ ROOT=$(cat /ventoy/rootdev)' -i /init
|
||||
$SED "/Detecting *PrimeOS/a\ $BUSYBOX_PATH/sh $VTOY_PATH/hook/primeos/ventoy-disk.sh" -i /init
|
||||
if $GREP -q 'Detecting *PrimeOS' /init; then
|
||||
$SED '/Detecting *PrimeOS/a\ ROOT=$(cat /ventoy/rootdev)' -i /init
|
||||
$SED "/Detecting *PrimeOS/a\ $BUSYBOX_PATH/sh $VTOY_PATH/hook/primeos/ventoy-disk.sh" -i /init
|
||||
elif $GREP -q 'Detecting *PRIMEOS' /init; then
|
||||
$SED '/Detecting *PRIMEOS/a\ ROOT=$(cat /ventoy/rootdev)' -i /init
|
||||
$SED "/Detecting *PRIMEOS/a\ $BUSYBOX_PATH/sh $VTOY_PATH/hook/primeos/ventoy-disk.sh" -i /init
|
||||
else
|
||||
echo "not detecting found" >> $VTLOG
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue