diff options
author | Nick Daly <Nick.M.Daly@gmail.com> | 2014-06-01 13:37:48 -0500 |
---|---|---|
committer | Nick Daly <Nick.M.Daly@gmail.com> | 2014-06-01 13:37:48 -0500 |
commit | d961bfc2920bd06684d1e51903d31eb0e4497c1f (patch) | |
tree | 39e3243adf1e291d12e1229c5e2fa106b5efca28 | |
parent | e0e502f66658645beba6a02333424d509e505b5b (diff) |
Hide irrelevant keyboard console messages.
-rwxr-xr-x | bin/freedombox-customize | 8 |
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 |