Skip to content

uninstall / clean revert of all system changes #12

@VijitSingh97

Description

@VijitSingh97

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

  • uninstall reverts every persistent change the installer made (idempotent, confirmed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsetuprigforge.sh, config.json, first-run setup
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions