1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-19 14:10:38 +02:00
gmenu2x/pandora/scripts/usboff.sh
Mirko Lindner cddcd72e33 initial commit - needs clean-up
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
2010-02-04 12:33:47 +01:00

12 lines
250 B
Bash
Executable File

#!/bin/bash
export PATH=$PATH:/sbin
rmmod g_file_storage
rmmod net2272
if [ $1 = "nand" ]; then
mount /mnt/nand || mount -o remount,rw /mnt/nand
elif [ $1 = "root" ]; then
mount -o remount,rw /
else
mount /mnt/sd || mount -o remount,rw /mnt/sd
fi