more name fixes?
This commit is contained in:
parent
8740b69be0
commit
0a2036d30a
BIN
.larbs.sh.swp
Normal file
BIN
.larbs.sh.swp
Normal file
Binary file not shown.
2
larbs.sh
2
larbs.sh
@ -18,6 +18,7 @@ do
|
||||
done
|
||||
|
||||
NAME=$(cat .name)
|
||||
chmod 777 .name
|
||||
useradd -m -g wheel -s /bin/bash $NAME
|
||||
|
||||
echo "$NAME:$(cat .pass1)" | chpasswd
|
||||
@ -106,7 +107,6 @@ done
|
||||
#pacman --noconfirm --needed -S projectm-pulseaudio
|
||||
|
||||
blue Downloading next portion of the script \(user.sh\)...
|
||||
echo $NAME > /home/$NAME/.name && chmod 777 /home/$NAME/.name
|
||||
curl https://raw.githubusercontent.com/LukeSmithxyz/larbs/master/user.sh > /home/$NAME/user.sh && blue Running user.sh script as $NAME...
|
||||
sudo -u $NAME bash /home/$NAME/user.sh || red Error when running user.sh...
|
||||
rm -f /home/$NAME/user.sh
|
||||
|
@ -4,6 +4,7 @@ blue() { printf "\033[0;34m $* \033[0m\n" && (echo $* >> LARBS.log) ;}
|
||||
red() { printf "\033[0;31m $* \033[0m\n" && (echo ERROR: $* >> LARBS.log) ;}
|
||||
|
||||
NAME=$(cat .name)
|
||||
rm -f .name
|
||||
blue Changing directory to /home/$NAME...
|
||||
|
||||
cd /home/$NAME
|
||||
|
Loading…
Reference in New Issue
Block a user