From 48069b904b3cf9af006d4e505788c9f5bb3416b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Wed, 8 Oct 2014 10:58:27 +0200 Subject: [PATCH] Update common.sh --- common.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/common.sh b/common.sh index c5e791c854..2941292527 100644 --- a/common.sh +++ b/common.sh @@ -261,6 +261,7 @@ chroot $DEST/output/sdcard /bin/bash -c "update-rc.d firstrun defaults" cat $SRC/lib/scripts/bashrc >> $DEST/output/sdcard/etc/bash.bashrc # install custom motd / hardware dependent cp $SRC/lib/scripts/armhwinfo $DEST/output/sdcard/etc/init.d/ +chroot $DEST/output/sdcard /bin/bash -c "chmod +x /etc/init.d/armhwinfo" sed -e s,"# Update motd","/etc/init.d/armhwinfo",g -i $DEST/output/sdcard/etc/init.d/motd sed -e s,"uname -snrvm > /var/run/motd.dynamic","",g -i $DEST/output/sdcard/etc/init.d/motd }