Closed this issue 6 years ago · 1 comments
#Check if running as root if [[ $(id -u) -ne 0 ]]; then echo "Please run as root" exit fi
Also add #!/bin/bash to the top. Completely missed that somehow.
#!/bin/bash