wok annotate slitaz-eeepc/stuff/eeepc.sh @ rev 10412
zlib: Tazwok must work differentyl all pkgs dep on glibc!
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 24 13:08:16 2011 +0200 (2011-05-24) |
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 |