Problem
The script makes persistent system changes — systemd service, /etc/logrotate.d/xmrig, /etc/fstab hugetlbfs mounts, /etc/security/limits.conf memlock, /etc/modules-load.d/msr.conf, and GRUB params — with no way to revert (only grub.bak is saved). A tool that edits this much of the host should be cleanly removable (trust + reversibility).
Proposed
- An
uninstall that stops/disables + removes the service, removes the logrotate file, removes the fstab/limits/modules entries it added, and restores grub.bak; prompts before touching GRUB. Optionally remove the build/data dir.
Acceptance
Problem
The script makes persistent system changes — systemd service,
/etc/logrotate.d/xmrig,/etc/fstabhugetlbfs mounts,/etc/security/limits.confmemlock,/etc/modules-load.d/msr.conf, and GRUB params — with no way to revert (onlygrub.bakis saved). A tool that edits this much of the host should be cleanly removable (trust + reversibility).Proposed
uninstallthat stops/disables + removes the service, removes the logrotate file, removes the fstab/limits/modules entries it added, and restoresgrub.bak; prompts before touching GRUB. Optionally remove the build/data dir.Acceptance
uninstallreverts every persistent change the installer made (idempotent, confirmed).