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

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

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 3 Posters 548 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.
    • 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
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.