wok-current annotate slitaz-eeepc/stuff/eeepc.sh @ rev 14512

Add lynis
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 13:55:15 2013 +0200 (2013-05-14)
parents 10d656b138ba
children
rev   line source
pankso@2346 1 #!/bin/sh
pankso@2346 2 #
pankso@2346 3 # /etc/init.d/eeepc.sh: Script used at boot time to setup screen
pankso@2346 4 # resolution and configure hardware with tazeee on the EeePC.
pankso@2346 5 #
pankso@2346 6
pankso@2346 7 # Setup is run only once.
pankso@2346 8 if [ ! -s /etc/eeepc.conf ]; then
pankso@2346 9 /sbin/tazeee setup
pankso@2346 10 fi
pankso@2346 11
pankso@2346 12 . /etc/eeepc.conf
pankso@2346 13
pankso@2346 14 # 915resolution screen hack.
pankso@2346 15 [ -n "$HACK_915" ] && 915resolution $HACK_915
pankso@2346 16
pankso@2785 17 # Enable Kernel Laptop mode.
pankso@2346 18 echo "5" > /proc/sys/vm/laptop_mode
pankso@2346 19
pankso@2346 20 exit 0