#!/bin/bash mount /mnt/sd -o remount,sync ./oldplay > stdout.txt &> stderr.txt mount /mnt/sd -o remount,sync cd /usr/gp2x ./gp2xmenu