improve 64bit portability
[picodrive.git] / platform / pandora / PicoDrive.sh
CommitLineData
68af34fe 1#!/bin/sh
2
d9653efd 3# 3.2.30 on pandora has broken hugetlb
4if [ "`uname -r`" != "3.2.30" ]; then
5 # 2x2M hugepages should be enough
6 sudo -n /usr/pandora/scripts/op_hugetlb.sh 4
7fi
68af34fe 8
9./PicoDrive "$@"
10
11# restore stuff if pico crashes
12./picorestore
13sudo -n /usr/pandora/scripts/op_lcdrate.sh 60
14sudo -n /usr/pandora/scripts/op_gamma.sh 0
15sudo -n /usr/pandora/scripts/op_hugetlb.sh 0