From c14ac8f0333350a842b430edd224c92dcf5bd840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Sun, 12 Oct 2014 09:29:47 +0200 Subject: [PATCH] Update common.sh --- common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common.sh b/common.sh index 5ed1d1da4e..8328958bcf 100644 --- a/common.sh +++ b/common.sh @@ -327,7 +327,7 @@ if [[ $BOARD == "cubietruck" || $BOARD == "cubieboard" || $BOARD == "bananapi" | # alter rc.local head -n -1 $DEST/output/sdcard/etc/rc.local > /tmp/out echo 'echo 2 > /proc/irq/$(cat /proc/interrupts | grep eth0 | cut -f 1 -d ":" | tr -d " ")/smp_affinity' >> /tmp/out - echo 'KILLPROC=$(ps uax | pgrep fbi | tail -1); if [ -n "$KILLPROC" ]; then kill $KILLPROC; fi ' >> /tmp/out + #echo 'KILLPROC=$(ps uax | pgrep fbi | tail -1); if [ -n "$KILLPROC" ]; then kill $KILLPROC; fi ' >> /tmp/out echo 'exit 0' >> /tmp/out mv /tmp/out $DEST/output/sdcard/etc/rc.local chroot $DEST/output/sdcard /bin/bash -c "chmod +x /etc/rc.local" @@ -395,7 +395,7 @@ if [[ $BOARD == "cubox-i" ]] ; then chroot $DEST/output/sdcard /bin/bash -c "update-rc.d brcm4330-patch defaults" # alter rc.local head -n -1 $DEST/output/sdcard/etc/rc.local > /tmp/out - echo 'KILLPROC=$(ps uax | pgrep fbi | tail -1); if [ -n "$KILLPROC" ]; then kill $KILLPROC; fi ' >> /tmp/out + #echo 'KILLPROC=$(ps uax | pgrep fbi | tail -1); if [ -n "$KILLPROC" ]; then kill $KILLPROC; fi ' >> /tmp/out echo 'exit 0' >> /tmp/out mv /tmp/out $DEST/output/sdcard/etc/rc.local chroot $DEST/output/sdcard /bin/bash -c "chmod +x /etc/rc.local"