Current location

narf Source control manager Git

aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorNick Daly <Nick.M.Daly@gmail.com>2014-06-01 13:37:48 -0500
committerNick Daly <Nick.M.Daly@gmail.com>2014-06-01 13:37:48 -0500
commitd961bfc2920bd06684d1e51903d31eb0e4497c1f (patch)
tree39e3243adf1e291d12e1229c5e2fa106b5efca28 /bin
parente0e502f66658645beba6a02333424d509e505b5b (diff)
Hide irrelevant keyboard console messages.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/freedombox-customize8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/freedombox-customize b/bin/freedombox-customize
index e69d31d..aab7d20 100755
--- a/bin/freedombox-customize
+++ b/bin/freedombox-customize
@@ -28,6 +28,14 @@ password=frdm
chroot $rootdir adduser --gecos $username --disabled-password $username
echo $username:$password | chroot $rootdir /usr/sbin/chpasswd
+case "$MACHINE" in
+ virtualbox)
+ # hide irrelevant console keyboard messages.
+ echo "echo \"4 4 1 7\" > /proc/sys/kernel/printk" \
+ >> /etc/init.d/rc.local
+ ;;
+esac
+
cat <<EOF > etc/apt/sources.list
deb $MIRROR $SUITE main contrib non-free
deb-src $MIRROR $SUITE main contrib non-free