Merge pull request #10036 from Security-Onion-Solutions/commonprofile

ensure scripts are run as root, have copyright, and path is correct
This commit is contained in:
Jason Ertel
2023-03-28 11:59:10 -04:00
committed by GitHub
5 changed files with 22 additions and 6 deletions

View File

@@ -16,6 +16,11 @@ if [ -z $NOROOT ]; then
fi
fi
# Ensure /usr/sbin is in path
if ! echo "$PATH" | grep -q "/usr/sbin"; then
export PATH="$PATH:/usr/sbin"
fi
# Define a banner to separate sections
banner="========================================================================="