Files
alpine-web-werver/bin/checkroot.sh
T
2019-04-17 21:34:46 +02:00

9 lines
104 B
Bash
Executable File

#!/bin/sh
echo -e "checking root"
if [ "$EUID" -ne 0 ]; then
echo -e "Please run as root"
exit
fi