wok-6.x diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-eeepc/stuff/eeepc.sh Tue Mar 03 22:58:43 2009 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# /etc/init.d/eeepc.sh: Script used at boot time to setup screen 1.7 +# resolution and configure hardware with tazeee on the EeePC. 1.8 +# 1.9 + 1.10 +# Setup is run only once. 1.11 +if [ ! -s /etc/eeepc.conf ]; then 1.12 + /sbin/tazeee setup 1.13 +fi 1.14 + 1.15 +. /etc/eeepc.conf 1.16 + 1.17 +# 915resolution screen hack. 1.18 +[ -n "$HACK_915" ] && 915resolution $HACK_915 1.19 + 1.20 +# Enable Laptop mode 1.21 +echo "5" > /proc/sys/vm/laptop_mode 1.22 + 1.23 +exit 0