wok-next view slitaz-eeepc/stuff/eeepc.sh @ rev 12688
Update: ophcrack (3.4.0)
author | Cedric Tissieres <slitaz@objectif-securite.ch> |
---|---|
date | Wed May 02 14:55:06 2012 +0200 (2012-05-02) |
parents | 10d656b138ba |
children |
line source
1 #!/bin/sh
2 #
3 # /etc/init.d/eeepc.sh: Script used at boot time to setup screen
4 # resolution and configure hardware with tazeee on the EeePC.
5 #
7 # Setup is run only once.
8 if [ ! -s /etc/eeepc.conf ]; then
9 /sbin/tazeee setup
10 fi
12 . /etc/eeepc.conf
14 # 915resolution screen hack.
15 [ -n "$HACK_915" ] && 915resolution $HACK_915
17 # Enable Kernel Laptop mode.
18 echo "5" > /proc/sys/vm/laptop_mode
20 exit 0