diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2017-11-17 17:48:38 -0500 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2018-01-01 00:53:19 -0500 |
commit | 103b48e15a88cf04532de2be5a6ea670e2886a4a (patch) | |
tree | d3e55346e2dc508c81be2bb7663c32d4aadd33e1 /configs/profile/root-image/root/.scriptsInstallation/userAccount.sh | |
parent | 9214ac771aab8722bdda9e3eb72521c5f53269f8 (diff) |
include multiple per-init cli installers
Diffstat (limited to 'configs/profile/root-image/root/.scriptsInstallation/userAccount.sh')
-rwxr-xr-x | configs/profile/root-image/root/.scriptsInstallation/userAccount.sh | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/configs/profile/root-image/root/.scriptsInstallation/userAccount.sh b/configs/profile/root-image/root/.scriptsInstallation/userAccount.sh deleted file mode 100755 index 0df85f9..0000000 --- a/configs/profile/root-image/root/.scriptsInstallation/userAccount.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -user=$(cat /temporal | grep "userName") - -password=$(dialog --stdout --passwordbox "Insert ${user#*=} password" 8 40) - -while [[ $password != $password2 ]]; do - password2=$(dialog --stdout --passwordbox "Reply password" 8 40) -done - -useradd -m -g users -G "wheel" -s /bin/bash -p $(openssl passwd $password) ${user#*=} - -if [ -x /usr/bin/setxkbmap ]; then - echo "setxkbmap $(cat /.codecheck | grep XKBMAP= | cut -d '=' -f 2)" >> /home/${user#*=}/.bashrc -fi - -if [ -x /usr/bin/gsettings ]; then - sudo -u {user#*=} \ - if [ -d /usr/share/themes/Radiance-Purple ]; then - gsettings set org.mate.interface gtk-theme 'Radiance-Purple' - gsettings set org.mate.Marco.general theme 'Radiance-Purple' - fi \ - if [ -d /usr/share/icons/RAVE-X-Dark-Purple ]; then - gsettings set org.mate.interface icon-theme 'RAVE-X-Dark-Purple' - fi \ - if [ -d /usr/share/icons/mate ]; then - gsettings set org.mate.peripherals-mouse cursor-size '18' - gsettings set org.mate.peripherals-mouse cursor-theme 'mate' - fi \ - if [ -f /etc/wallpaper.png ]; then - gsettings set org.mate.background picture-filename '/etc/wallpaper.png' - fi -fi - -exit |