mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Moved all the data files (translations, skins...) to the "data" folder.
On the "platform" sub-folder are located one folder for each platform gmenu2x supports. The "translations" folder is now the same for all platforms. The "skins" sub-folder contains directories which names defines the screen resolution of the contained skins (e.g. "320x240").
This commit is contained in:
15
data/platform/nanonote/scripts/usbon.sh
Executable file
15
data/platform/nanonote/scripts/usbon.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
# $1 = sd|nand|root
|
||||
# defaults to sd (compatible with previous versions)
|
||||
export PATH=$PATH:/sbin
|
||||
modprobe net2272
|
||||
if [ $1 = "nand" ]; then
|
||||
umount /mnt/nand || mount -o remount,loop,ro /mnt/nand
|
||||
modprobe g_file_storage file=/dev/loop/7
|
||||
elif [ $1 = "root" ]; then
|
||||
mount -o remount,loop,ro /
|
||||
modprobe g_file_storage file=/dev/mtdblock/3
|
||||
else
|
||||
umount /mnt/sd || mount -o remount,loop,ro /mnt/sd
|
||||
modprobe g_file_storage file=/dev/mmcsd/disc0/disc
|
||||
fi
|
||||
Reference in New Issue
Block a user