wok annotate slitaz-eeepc/stuff/eeepc.sh @ rev 17824
Up: slitaz-boot-scripts(5.6.7)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 22 19:56:52 2015 +0100 (2015-03-22) |
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 |