space!
parent
3906436f63
commit
6c5b267211
15
zerotier.sh
15
zerotier.sh
|
@ -5,12 +5,12 @@ read sucommand
|
|||
if [ $sucommand = y ]
|
||||
then
|
||||
echo "I need your username to add to the sudo group"
|
||||
|
||||
echo
|
||||
echo "IMPORTANT: please put the real username, not Real Name, example: manuel yes, Manuel no"
|
||||
|
||||
echo "tell me your username"
|
||||
echo
|
||||
echo "tell me your username:"
|
||||
read username
|
||||
echo "again"
|
||||
echo "again:"
|
||||
read usernameagain
|
||||
|
||||
if [ $username = $usernameagain ]
|
||||
|
@ -18,7 +18,11 @@ then
|
|||
echo GOOD
|
||||
su -c "sudo adduser $username sudo"
|
||||
echo added to the sudo group
|
||||
echo
|
||||
echo
|
||||
echo "restart the PC, and then say you don't use the su command"
|
||||
echo
|
||||
echo
|
||||
read nothing
|
||||
exit
|
||||
else
|
||||
|
@ -72,6 +76,9 @@ echo ZeroTierInstaller Folder Removed
|
|||
|
||||
echo Ready!!!
|
||||
|
||||
echo
|
||||
echo
|
||||
echo
|
||||
echo you can run ZeroTier with this command:
|
||||
echo
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue