... | ... | @@ -20,7 +20,7 @@ linenew=$(echo ${line::-1}" net.ifnames=0\"") |
|
|
echo "please change if not correct:"
|
|
|
echo $linenew
|
|
|
linenew=$(echo $linenew | sed 's/\//\\\//g')
|
|
|
sed 's/GRUB_CMDLINE_LINUX.*$/'"${linenew}"'/' /etc/default/grub
|
|
|
sed -i 's/GRUB_CMDLINE_LINUX.*$/'"${linenew}"'/' /etc/default/grub
|
|
|
grub2-mkconfig -o /boot/grub2/grub.cfg
|
|
|
```
|
|
|
|
... | ... | |