diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-24 17:41:41 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-24 17:41:41 +0100 |
commit | eeb153ffb5fc43242ded36a01f51e7b8ccb442a4 (patch) | |
tree | c99d6564649b7e1515c80f20411e0841663ca435 /install-itzks-workstation | |
parent | 71cfda80ce7cd872705a0abe17dd973a54ee448b (diff) | |
download | itzks-install-script-eeb153ffb5fc43242ded36a01f51e7b8ccb442a4.tar.gz itzks-install-script-eeb153ffb5fc43242ded36a01f51e7b8ccb442a4.tar.bz2 itzks-install-script-eeb153ffb5fc43242ded36a01f51e7b8ccb442a4.zip |
Adding locadm user: white-space fixes, coding style, no else clause.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r-- | install-itzks-workstation | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index 04f0739..9b89d2e 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -3,11 +3,10 @@ set -e -# Alternate script: Only add user locadm if not already there -if [ -z $"(getent passwd locadm)" ]; - then +# Add user locadm if not already there +if [ -z $"(getent passwd locadm)" ]; then : - else +else adduser --gecos "Local Administrator" locadm adduser locadm sudo fi |