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

    Where to stash mailreport scripts?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 337 Views 2 Watching
    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.
    • beerguzzleB Offline
      beerguzzle
      last edited by

      I wrote myself a shell script that I put in /root (I login as admin) for mailreport to run for me daily, summarizing the previous day's filter logging. I also copied /usr/local/bin/filterparser.php to /root/myfilterparser.php and modified it to my own needs for the shell script.

      Question: is /root a safe place to put my own stuff, where it will not get zapped by upgrades?

      Netgate 1100 and Netgate 2100, latest pfsense+ version

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

        Traditionally things were put in /conf for that because, many years ago, it was shared between boot slices. That doesn't apply any more but custom files are often put there. I would expect /root to be fine though, I've had custom things there for years.

        Steve

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