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