diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-24 17:31:38 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-24 17:31:38 +0100 |
commit | 71cfda80ce7cd872705a0abe17dd973a54ee448b (patch) | |
tree | f2c8237ee4ca50fb8b8619f400e674fc47291e3e | |
parent | 66cc61653341d7cf78e89e84178c0b2dee4c36cf (diff) | |
download | itzks-install-script-71cfda80ce7cd872705a0abe17dd973a54ee448b.tar.gz itzks-install-script-71cfda80ce7cd872705a0abe17dd973a54ee448b.tar.bz2 itzks-install-script-71cfda80ce7cd872705a0abe17dd973a54ee448b.zip |
Always run script with -e bash option. We want to fail if things fail.
-rw-r--r-- | install-itzks-workstation | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation index 040f42c..04f0739 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -1,9 +1,7 @@ #!/bin/bash # script for installing a Debian Edu Workstation with ITZkS modifications -# Add user locadm as "local adminstrator" and add this user to sudoer-group -# adduser --gecos "Local Administrator" locadm -# adduser locadm sudo +set -e # Alternate script: Only add user locadm if not already there if [ -z $"(getent passwd locadm)" ]; |