readded udpated scripts directory

This commit is contained in:
tomit4 2022-06-09 12:59:03 -07:00
parent cd053a412a
commit f3117c81d9
84 changed files with 3210 additions and 0 deletions

13
scripts/source_source.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
# Here we source/import the source_functions.sh file, which has a function called check_root() which checks
# to see if the file is being executed as root. If the file is executed by a non-root user, then the check_root() function
# let's the user know that the file must be executed as root and then exits with an error status of 1.
# If the user is root, the source_functions.sh file has no other code, but this file continues on to echo back at the user that
# "I am root"
source source_functions.sh
check_root
echo "I am root"