tag all pnd/wiz binaries
[ginge.git] / dist / ginge.gpe
... / ...
CommitLineData
1#!/bin/sh
2
3unset LD_PRELOAD
4
5/sbin/rmmod warm 2> /dev/null
6/sbin/insmod ./tools/warm_2.6.24.ko
7
8# we might write something to /tmp, no need to write to flash
9if ! grep -q '/tmp' /proc/mounts; then
10 mount -t tmpfs none /tmp
11fi
12
13# theoretically GP2X apps can make use of more RAM, because
14# Wiz has 2.6 kernel (larger memory requirements) and larger
15# reserved areas, so we mount some swap here just in case.
16mkswap swapfile
17swapon swapfile
18
19./gp2xmenu --view-game
20
21swapoff swapfile
22umount /tmp
23/sbin/rmmod warm 2> /dev/null
24
25cd /usr/gp2x/
26exec ./gp2xmenu