mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
bcm2835-bootloader: fix update script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
9d8267461e
commit
f93c4909d0
@ -40,7 +40,7 @@
|
||||
# some config.txt magic
|
||||
if [ ! -f $BOOT_ROOT/config.txt ]; then
|
||||
cp $SYSTEM_ROOT/usr/share/bootloader/config.txt $BOOT_ROOT
|
||||
elif [ ! `grep "^[ ]*gpu_mem.*" $BOOT_ROOT/config.txt` ]; then
|
||||
elif [ -z "`grep "^[ ]*gpu_mem.*" $BOOT_ROOT/config.txt`" ]; then
|
||||
mv $BOOT_ROOT/config.txt $BOOT_ROOT/config.txt.bk
|
||||
cat $SYSTEM_ROOT/usr/share/bootloader/config.txt \
|
||||
$BOOT_ROOT/config.txt.bk > $BOOT_ROOT/config.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user