How to run zram script at sturtup?

  • This topic has 3 replies, 3 voices, and was last updated Oct 11-5:13 pm by christophe.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #90581
    Member
    Mad Daimond

      I want to run:
      sudo zram start
      at the start of my system, but the problem is that the script requires sudo to be executed and it still requires it, even if i try to change privileges. What can I do to run it at startup?

      #90582
      Moderator
      BobC
        Helpful
        Up
        0
        ::

        Try adding to startup, then logout and back in…

        #90587
        Member
        Mad Daimond
          Helpful
          Up
          0
          ::

          I am not recommend this solution die to security reasons, but for now I made it work via adding this line to startup file:
          echo mypassword | sudo -S zram start

          • This reply was modified 6 months, 3 weeks ago by Mad Daimond.
          #90593
          Moderator
          christophe
            Helpful
            Up
            2
            ::

            Do it this way:
            https://www.antixforum.com/forums/topic/making-a-pentium-4-laptop-useful-with-antix/

            confirmed antiX frugaler, since 2019

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.