Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Pfsense bootup with ataidle package

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 1.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vg8open
      last edited by

      Hello,

      My pfsense's hard drive was constantly parking its head, so I use the ataidle package to stop it from doing that.  The command I am currently using is "ataidle -P /dev/ad0", which works great, but I found out that I have to enter this command everytime I rebooted pfsense.

      This lead my questions:
      1. What config file in pfsense do I need to put the command in so that it get execute everytime pfsense bootup?
      2. Can I put the command as shown above in that file or do I need to modify it in some way?

      Thanks,

      -Brian

      1 Reply Last reply Reply Quote 0
      • M
        Metu69salemi
        last edited by

        1. Download package called shellcmd
        2. no you don't have to edit

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Or you may need to use early shell command if it's doing it right away. (unlikely!)

          http://doc.pfsense.org/index.php/Executing_commands_at_boot_time

          Steve

          1 Reply Last reply Reply Quote 0
          • V
            vg8open
            last edited by

            Thanks for the info!  I think shellcmd is probably the best choice.

            -Brian

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.