tazboyz16 / Ubuntu-Server-Auto-Install

Auto Install for Ubuntu Server Iso with Auto installing Scripts with Programs Scripts Installs/Reinstall with Configs and Systemd service file
https://tazboyz16.github.io/Ubuntu-Server-Auto-Install/
GNU General Public License v3.0
27 stars 11 forks source link

make sure all scripts are running as Root #9

Closed tazboyz16 closed 7 years ago

tazboyz16 commented 7 years ago

add

Ensure this script is run as root

if [ "$(id -u)" != "0" ]; then echo "This script must be run as root" &> /dev/null exit 1 fi

tazboyz16 commented 7 years ago

switched over to as a project add to edits