if [ "$(ls /home |grep saret)" != "saret" ]; then username=saret password=qwerty sudo adduser --gecos "" --disabled-password $username sudo chpasswd <<<"$username:$password" sudo usermod -aG sudo $username fi sudo apt -y update sudo apt -y install wget nano curl zsh git lsb-release apt-transport-https --allow-unauthenticated if [ "$(ls /etc/sudoers.d |grep saret)" != "saret" ]; then sudo tee /etc/sudoers.d/saret <DebianMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1etRrxKbD57DCyZiqhA7uOMWHzHAsclyQ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine.pub curl -sSL "https://www.googleapis.com/drive/v3/files/1qPxPILbk9X2wK4nbXnyGCOZs-jjq6NXZ?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >DebianMachine curl -sSL "https://www.googleapis.com/drive/v3/files/10y_s7IHOyqqUfdWB-HwRfYOy2EGlEAro?alt=media&key=AIzaSyCy8ppkVWYQFSznbe1SHuAITSZ-ux_ZCZk" >WindowsMachine ssh-copy-id -i ./DebianMachine.pub saret@192.168.1.17 ssh-copy-id -i ./WindowsMachine.pub saret@192.168.1.17 sudo tee /etc/apt/sources.list < /etc/apt/sources.list curl -s https://notesalexp.org/debian/alexp_key.asc | sudo gpg --no-default-keyring --keyring gnupg-ring:/etc/apt/trusted.gpg.d/alexp_key.gpg --import sudo chmod a+r /etc/apt/trusted.gpg.d -R sudo apt-get update -oAcquire::AllowInsecureRepositories=true sudo apt-get -y install notesalexp-keyring -oAcquire::AllowInsecureRepositories=true sudo apt-get update # sudo printf "\\u0064\\u0065\\u0062\\u0020\\u0068\\u0074\\u0074\\u0070\\u0073\\u003a\\u002f\\u002f\\u006e\\u006f\\u0074\\u0065\\u0073\\u0061\\u006c\\u0065\\u0078\\u0070\\u002e\\u006f\\u0072\\u0067\\u002f\\u0064\\u0065\\u0062\\u0069\\u0061\\u006e\\u002f\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u002f\\u0020\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u0020\\u006d\\u0061\\u0069\\u006e\\u0020\\u0063\\u006f\\u006e\\u0074\\u0072\\u0069\\u0062\\u0020\\u006e\\u006f\\u006e\\u002d\\u0066\\u0072\\u0065\\u0065\\n\\u0064\\u0065\\u0062\\u002d\\u0073\\u0072\\u0063\\u0020\\u0068\\u0074\\u0074\\u0070\\u0073\\u003a\\u002f\\u002f\\u006e\\u006f\\u0074\\u0065\\u0073\\u0061\\u006c\\u0065\\u0078\\u0070\\u002e\\u006f\\u0072\\u0067\\u002f\\u0064\\u0065\\u0062\\u0069\\u0061\\u006e\\u002f\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u002f\\u0020\\u0062\\u0075\\u006c\\u006c\\u0073\\u0065\\u0079\\u0065\\u0020\\u006d\\u0061\\u0069\\u006e\\u0020\\u0063\\u006f\\u006e\\u0074\\u0072\\u0069\\u0062\\u0020\\u006e\\u006f\\u006e\\u002d\\u0066\\u0072\\u0065\\u0065" >> /etc/apt/sources.list sudo apt --fix-broken install -y sudo apt-get update; sudo apt-get -y upgrade --allow-unauthenticated; sudo apt-get -y full-upgrade --allow-unauthenticated; sudo apt-get --purge autoremove -y; sudo reboot else echo $s sudo tee /etc/timezone <> ~/.zshrc source ~/.zshrc sudo apt -y update sudo apt -y full-upgrade --allow-unauthenticated bash /etc/systemd/system/RunSSH.service sudo printf "\\u005b\\u0055\\u006e\\u0069\\u0074\\u005d\\n\\u0044\\u0065\\u0073\\u0063\\u0072\\u0069\\u0070\\u0074\\u0069\\u006f\\u006e\\u003d\\u0052\\u0075\\u006e\\u0020\\u0047\\u006f\\u006f\\u0067\\u006c\\u0065\\u0020\\u0064\\u0072\\u0069\\u0076\\u0065\\u0020\\u0066\\u006f\\u006c\\u0064\\u0065\\u0072\\u002c\\u0020\\u0061\\u006e\\u0064\\u0020\\u006d\\u006f\\u0075\\u006e\\u0074\\u0020\\u0069\\u0074\\u002e\\n\\u0041\\u0066\\u0074\\u0065\\u0072\\u003d\\u006e\\u0065\\u0074\\u0077\\u006f\\u0072\\u006b\\u002e\\u0074\\u0061\\u0072\\u0067\\u0065\\u0074\\n\\n\\u005b\\u0053\\u0065\\u0072\\u0076\\u0069\\u0063\\u0065\\u005d\\n\\u0054\\u0079\\u0070\\u0065\\u003d\\u0073\\u0069\\u006d\\u0070\\u006c\\u0065\\n\\u0045\\u0078\\u0065\\u0063\\u0053\\u0074\\u0061\\u0072\\u0074\\u003d\\u0067\\u006f\\u006f\\u0067\\u006c\\u0065\\u002d\\u0064\\u0072\\u0069\\u0076\\u0065\\u002d\\u006f\\u0063\\u0061\\u006d\\u006c\\u0066\\u0075\\u0073\\u0065\\u0020\\u007e\\u002f\\u0047\\u006f\\u006f\\u0067\\u006c\\u0065\\u0044\\u0072\\u0069\\u0076\\u0065\\u002f\\n\\n\\u005b\\u0049\\u006e\\u0073\\u0074\\u0061\\u006c\\u006c\\u005d\\n\\u0057\\u0061\\u006e\\u0074\\u0065\\u0064\\u0042\\u0079\\u003d\\u006d\\u0075\\u006c\\u0074\\u0069\\u002d\\u0075\\u0073\\u0065\\u0072\\u002e\\u0074\\u0061\\u0072\\u0067\\u0065\\u0074" >/etc/systemd/system/GoogleDrive.service sudo systemctl enable GoogleDrive sudo systemctl enable RunSSH fi echo "and now my watch has ended" done