1
0

added script to update extlinux.conf after kernel update

This commit is contained in:
Daniel Tartavel
2018-12-16 15:38:04 +01:00
parent 1169b7fc76
commit e56a06070d
2 changed files with 9 additions and 2 deletions

6
rpi/sed_extlinux.conf.sh Normal file
View 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