1#!/bin/sh 2if [ "`whoami`" != "root" ]; then 3 echo "Giving GalaxyHack root permissions requires us to be root..." 4 su -c "$0" 5fi 6if [ "`whoami`" != "root" ]; then 7 exit 1 8fi 9 10echo "Executing: chown root galaxyhack" 11chown root galaxyhack 12echo "Executing: chmod u+s galaxyhack" 13chmod u+s galaxyhack 14exit 0 15