added script to update extlinux.conf after kernel update
This commit is contained in:
6
rpi/sed_extlinux.conf.sh
Normal file
6
rpi/sed_extlinux.conf.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
cd /boot/extlinux
|
||||
sed -i.old -e s,/boot,,g extlinux.conf
|
||||
sed -i -e s,/usr/lib/.*,/fdt/,g extlinux.conf
|
||||
sed -i -e 's/append.*$/& audit=0 fsck.repair=1/' extlinux.conf
|
||||
|
Reference in New Issue
Block a user