create_pihole_user Update

This commit is contained in:
Dan Schaper 2016-10-10 09:18:42 -07:00 committed by GitHub
parent 07b7e8a1a6
commit 84680b855a

View file

@ -755,7 +755,7 @@ runGravity() {
create_pihole_user(){
# Check if user pihole exists and create if not
echo "::: Checking if user 'pihole' exists..."
id -u pihole &> /dev/null && echo "::: User 'pihole' already exists" || echo "::: User 'pihole' doesn't exist. Creating..." && useradd -r -s /usr/sbin/nologin pihole
id -u pihole &> /dev/null && echo "::: User 'pihole' already exists" || (echo "::: User 'pihole' doesn't exist. Creating..." && useradd -r -s /usr/sbin/nologin pihole)
}
configureFirewall() {