r4 release for Caanoo
[ginge.git] / dist / ginge.gpe
index 5e06e1d..a9264fe 100755 (executable)
@@ -6,20 +6,23 @@ unset LD_PRELOAD
 /sbin/insmod ./tools/warm_2.6.24.ko
 
 # we might write something to /tmp, no need to write to flash
-if ! grep -q '/tmp' /proc/mounts; then
-       mount -t tmpfs none /tmp
-fi
+# FIXME: doesn't seem to work, tmpfs broken in Wiz kernel?
+#if ! grep -q '/tmp' /proc/mounts; then
+#      mount -t tmpfs none /tmp
+#fi
 
 # theoretically GP2X apps can make use of more RAM, because
 # Wiz has 2.6 kernel (larger memory requirements) and larger
 # reserved areas, so we mount some swap here just in case.
-mkswap swapfile
-swapon swapfile
+
+# FIXME: doesn't work too, causes more problems than resolves
+#mkswap swapfile
+#swapon swapfile
 
 ./gp2xmenu --view-game
 
-swapoff swapfile
-umount /tmp
+#swapoff swapfile
+#umount /tmp
 /sbin/rmmod warm 2> /dev/null
 
 cd /usr/gp2x/