checkroot.sh 79 B

123456
  1. #!/bin/sh
  2. if [ "$EUID" -ne 0 ]; then
  3. echo -e "Please run as root"
  4. exit
  5. fi