We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e8d8b2 commit b3c2bcfCopy full SHA for b3c2bcf
IMG/cpio/ventoy/hook/suse/ventoy-hook.sh
@@ -26,6 +26,12 @@ if [ -f $VTOY_PATH/autoinstall ]; then
26
fi
27
28
29
+if $GREP -q 'rdinit=/vtoy/vtoy' /proc/cmdline; then
30
+ echo "remove rdinit param" >> $VTLOG
31
+ echo "ptoptions=+rdinit" >> /linuxrc.config
32
+fi
33
+
34
35
if $BUSYBOX_PATH/ls $VTOY_PATH | $GREP -q 'ventoy_dud[0-9]'; then
36
if [ -f /linuxrc.config ]; then
37
vtKerVer=$($BUSYBOX_PATH/uname -r)
0 commit comments