mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-20 15:20:16 +01:00
Update install.sh
Check for being root user
This commit is contained in:
parent
63e01a486d
commit
2ef5a49601
|
|
@ -9,6 +9,13 @@ echo " /_____/\____//____/ |__/|__/\__,_/\__/\___/_/ /_/ "
|
|||
echo " German BOS Information Script "
|
||||
echo " by Bastian Schroll "
|
||||
echo ""
|
||||
|
||||
# Make sure only root can run our script
|
||||
if [[ $EUID -ne 0 ]]; then
|
||||
echo "This script must be run as root!" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "This may take a several minutes... Don't panic!"
|
||||
echo ""
|
||||
echo "Caution, script does not install a webserver with PHP and MySQL"
|
||||
|
|
|
|||
Loading…
Reference in a new issue