From 6eca29c73973410d4b8ce8c49d28a7e55973681b Mon Sep 17 00:00:00 2001 From: simono41 Date: Sun, 18 Mar 2018 18:24:31 +0100 Subject: [PATCH] fix --- adduser.sh => addusers.sh | 4 ++-- arch-graphical-install-auto | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) rename adduser.sh => addusers.sh (97%) diff --git a/adduser.sh b/addusers.sh similarity index 97% rename from adduser.sh rename to addusers.sh index c472f72..105bcb3 100755 --- a/adduser.sh +++ b/addusers.sh @@ -9,7 +9,7 @@ if [[ $EUID -ne 0 ]]; then fi echo "Als root Angemeldet" # -function adduser() { +function addusers() { useradd -m -g users -G wheel,audio,video,sys,optical -s /bin/bash $username passwd ${username} < /dev/null; then - echo "${username} existiert bereits!!!" + echo "${username} existiert bereits!!!" else - adduser + addusers fi if [ "$erstellen" == "exit" ] @@ -641,9 +641,9 @@ if [ "${vollinstallation}" != "n" ]; then mkdir -p /root/Musik mkdir -p /root/Videos - # adduser.sh - cp /opt/${repo}/adduser.sh /usr/bin/adduser - chmod 755 /usr/bin/adduser + # addusers.sh + cp /opt/${repo}/addusers.sh /usr/bin/addusers + chmod 755 /usr/bin/addusers # shell-fish chsh -s /usr/bin/fish root