wok-next annotate 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 |
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@2346 | 17 # Enable Laptop mode |
pankso@2346 | 18 echo "5" > /proc/sys/vm/laptop_mode |
pankso@2346 | 19 |
pankso@2346 | 20 exit 0 |