search for: check_run_as_sudo_root

Displaying 2 results from an estimated 2 matches for "check_run_as_sudo_root".

2020 Sep 29
3
No Samba NT DOMAIN Name found exitting now...
...} > error() { > printf "%40s\n" "${RED}$*${NORMAL}" > } > warning() { > printf "%40s\n" "${YELLOW}$*${NORMAL}" > } > warning_underline() { > printf "%40s\n" "${YELLOW}${UNDERLINE}$*${NORMAL}" > } > > check_run_as_sudo_root() { > if ! [[ $EUID -eq 0 ]]; then > error "This script should be run using sudo or by root." > exit 1 > fi > } > configured_script() { > if [ "${CONFIGURED}" = "no" ]; then > error "#################################...
2020 Sep 29
0
No Samba NT DOMAIN Name found exitting now...
...t;%40s\n" "${RED}$*${NORMAL}" >> } >> warning() { >> printf "%40s\n" "${YELLOW}$*${NORMAL}" >> } >> warning_underline() { >> printf "%40s\n" "${YELLOW}${UNDERLINE}$*${NORMAL}" >> } >> >> check_run_as_sudo_root() { >> if ! [[ $EUID -eq 0 ]]; then >> error "This script should be run using sudo or by root." >> exit 1 >> fi >> } >> configured_script() { >> if [ "${CONFIGURED}" = "no" ]; then >> error "#...