initial commit

This commit is contained in:
Fabio Scotto di Santolo
2020-07-28 19:28:25 +02:00
commit 4cc88d2f6e
245 changed files with 22820 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
check_root_user ()
{
case $(uname) in
SunOS) if [[ $LOGNAME != root ]]
then
echo -e "\n\n\tERROR: Only the root User can Execute this Program..."
echo -e "\n\n\t...EXITING...\n"
exit 1
fi
;;
*) if [[ $(whoami) != root ]]
then
echo -e "\n\n\tERROR: Only the root User can Execute this Program..."
echo -e "\n\n\t...EXITING...\n"
exit 1
fi
esac
}