wok annotate slitaz-eeepc/stuff/eeepc.sh @ rev 3645
Upgrade: db (4.5.20 to 4.7.25)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Jul 06 16:50:15 2009 +0000 (2009-07-06) |
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 |