wok-6.x view slitaz-eeepc/stuff/eeepc.sh @ rev 2346
Add slitaz-eeepc (tazeee, boot script, doc and more...)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 03 22:58:43 2009 +0100 (2009-03-03) |
parents | |
children | e7be6cf6d0eb |
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 Laptop mode
18 echo "5" > /proc/sys/vm/laptop_mode
20 exit 0