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