Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Modification of /usr/local/etc/rc.d/tftpd.sh What can go wrong?

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 3 Posters 971 Views 4 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.
    • N
      nomadmd1
      last edited by

      Hello,
      I added -c option to the tftpd start script to allow upload of cisco configs every time I commit write (otherwise tftp does not allow creation of new files). Now under what circumstances would the GUI overwrite this file that would silently break my uploads?
      Thank you

      1 Reply Last reply
      Reply Quote 0
      • jollyturnsJ
        jollyturns
        last edited by

        The configuration file in /usr/local/etc/rc.d/tftpd.sh is updated by the TFTP's package script in /usr/local/pkg/tftpd.inc. Search for the write_rcfile function, at line 147 at the time of this writing. Add whatever parameters you need to there, then save in the pfSense's Web interface the settings for the TFTP server to see the changes applied. After you save the TFTP server is restarted with the new configuration you've made.

        1 Reply Last reply
        Reply Quote 0
        • viktor_gV
          viktor_g Netgate
          last edited by

          Feature request created: https://redmine.pfsense.org/issues/10893

          1 Reply Last reply
          Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
          Privacy Policy · Cookie Policy