Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

22 rindas
519 B

  1. #!/usr/bin/env sh
  2. if [ "$(id -u)" -eq 0 ]
  3. then
  4. service log2ram stop
  5. systemctl disable log2ram
  6. rm /etc/systemd/system/log2ram.service
  7. rm /usr/local/bin/log2ram
  8. rm /etc/log2ram.conf
  9. rm /etc/cron.hourly/log2ram
  10. rm /etc/logrotate.d/log2ram
  11. if [ -d /var/hdd.log ]; then
  12. rm -r /var/hdd.log
  13. fi
  14. echo "Log2Ram is uninstalled, removing the uninstaller in progress"
  15. rm /usr/local/bin/uninstall-log2ram.sh
  16. echo "##### Reboot isn't needed #####"
  17. else
  18. echo "You need to be ROOT (sudo can be used)"
  19. fi