From 196d021c9da39d1de01d3e80eeaaa97892d001f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Sun, 12 Oct 2014 10:13:39 +0200 Subject: [PATCH] Update common.sh --- common.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common.sh b/common.sh index 9879356d53..c44385b04c 100644 --- a/common.sh +++ b/common.sh @@ -364,7 +364,8 @@ if [[ $BOARD == "cubietruck" ]] ; then cp $SRC/lib/scripts/brcm40183 $DEST/output/sdcard/etc/default cp $SRC/lib/scripts/brcm40183-patch $DEST/output/sdcard/etc/init.d chroot $DEST/output/sdcard /bin/bash -c "chmod +x /etc/init.d/brcm40183-patch" - chroot $DEST/output/sdcard /bin/bash -c "insserv brcm40183-patch" + # disabled by default + # chroot $DEST/output/sdcard /bin/bash -c "insserv brcm40183-patch" # default lirc configuration sed -i '1i sed -i \x27s/DEVICE="\\/dev\\/input.*/DEVICE="\\/dev\\/input\\/\x27$str\x27"/g\x27 /etc/lirc/hardware.conf' $DEST/output/sdcard/etc/lirc/hardware.conf sed -i '1i str=$(cat /proc/bus/input/devices | grep "H: Handlers=sysrq rfkill kbd event" | awk \x27{print $(NF)}\x27)' $DEST/output/sdcard/etc/lirc/hardware.conf