wok diff slitaz-eeepc/stuff/eeepc.sh @ rev 2381

rt2860sta: remove potential warning for tazpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 08 12:57:59 2009 +0000 (2009-03-08)
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	Sun Mar 08 12:57:59 2009 +0000
     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