1
0
Fork 0
This commit is contained in:
virtubox 2019-08-06 17:08:29 +02:00
parent bf9562f6e4
commit ad2e0c70c1
2 changed files with 3 additions and 0 deletions

1
custom Normal file
View File

@ -0,0 +1 @@

View File

@ -1,6 +1,8 @@
#!/bin/bash
# FUNCTIONS
. $HOME/.mybashrc/custom
if [ "$(id -u)" != "0" ]; then
IS_SUDOERS=$(groups | grep sudo)
if [ -n "$(command -v sudo)" ] && [ -n "$IS_SUDOERS" ]; then