mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-08-20 16:10:15 +03:00
12 lines
250 B
Bash
12 lines
250 B
Bash
|
#!/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
|