8Fermer10
geronimooLe 19/06/2007 à 13:09
voici mon script autorun.gpu:

#!/bin/sh
# AutoRun script for EnergySaver - Script de inicio para EnergySaver
# Copy to root of SD Card or NAND - Copiar a la raiz de una SD o de la NAND
# Copy setbl to the same place - Copiar setbl al mismo lugar
# Activate autorun feature and - Activar el autoinicio de la consola y
# NAND automount if necessary - el montaje de la NAND si hiciera falta

# Edit only this two lines - Editar estas dos lineas
SPEED=20
TIME=30
EXCEPTIONS="mplayer MusicPlayer g_file_storage"
# Please, don't delete the quotes - Por favor, no borre las comillas
# PLEASE, DO NOT EDIT UNDER THIS LINE - NO EDITAR POR DEBAJO DE ESTA LINEA
# ---------------------------------------------------------------------------- #
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
# ---------------------------------------------------------------------------- #
killall setbl

${0%/*}/setbl $SPEED $TIME $EXCEPTIONS &>/dev/null &

cd /usr/gp2x
exec ./gp2xmenu --disable-autorun