mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
initial commit - needs clean-up
Signed-off-by: Mirko Lindner <mirko@sharism.cc>
This commit is contained in:
11
pandora/scripts/usboff.sh
Executable file
11
pandora/scripts/usboff.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user