update.sh 487 B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. # // Update
  3. apt-get -y autoremove;
  4. apt upgrade && apt replace -y
  5. echo "Start Update"
  6. sleep 5
  7. # // Download
  8. cd /usr/bin
  9. wget -O menu-xws "https://raw.githubusercontent.com/alifnurmareta/bc/main/menu.sh"
  10. chmod +x menu-xws
  11. echo "0 5 * * * root clear-log && reboot" > /etc/crontab
  12. echo "0 0 * * * root xp" > /etc/crontab
  13. cd
  14. echo "1.2" > /home/ver
  15. clear
  16. echo " Fix minor Bugs"
  17. echo " Now You Can Change Port Of Some Services"
  18. echo " Reboot 5 Sec"
  19. sleep 5
  20. rm -f update.sh
  21. reboot