1 2 3 4 5 6 7 8 9 10
#!/bin/sh case `uname -m` in i686) arch=x86 ;; x86_64) arch=x86_64 ;; *) exit 1 ;; esac cd "/opt/tremulous" ./tremded.$arch "$@" exit $?