mirror of
https://github.com/ps5-linux/ps5-linux-tools.git
synced 2026-07-15 21:42:26 +00:00
Remove video parameter from kernel command line
This commit is contained in:
@@ -32,8 +32,7 @@ echo "kernel: $VMLINUZ"
|
||||
echo "initrd: $INITRD"
|
||||
|
||||
CMDLINE=$(cat /proc/cmdline | \
|
||||
sed -e 's/video=[^ ]*//g' \
|
||||
-e "s|root=[^ ]*|root=LABEL=$ROOT_LABEL|g" | \
|
||||
sed -e "s|root=[^ ]*|root=LABEL=$ROOT_LABEL|g" | \
|
||||
xargs)
|
||||
|
||||
echo "cmdline: $CMDLINE"
|
||||
|
||||
Reference in New Issue
Block a user