Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#13365 - [tftp-hpa] Add support for mapfile

Attached to Project: Arch Linux
Opened by Denis Yantarev (denn) - Wednesday, 18 February 2009, 20:11 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 01 March 2009, 21:31 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

It would be nice to modify tftpd init script so it passes -m parameter to in.tftpd in case filename remapping file with some predefined name exists in /etc. Currently to enable filename remapping we have to edit init script and add this parameter every time tftp-hpa package is updated.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Sunday, 01 March 2009, 21:31 GMT
Reason for closing:  Implemented
Comment by Denis Yantarev (denn) - Wednesday, 18 February 2009, 20:29 GMT
I made a quick patch for this, hope this will be useful.
Comment by Gerardo Exequiel Pozzi (djgera) - Thursday, 19 February 2009, 00:28 GMT
Hi Denis, maybe a better way is the put a conf.d/tftpd with

-- cut here --
#
# Parameters to be passed to TFTPD
#
TFTPD_ARGS="-l -s /var/tftpboot"
-- cut here --

by default and can you set another parameters,
This is to conform in the arch way of rc-scripts ;)

Patch is attached for "rc.d/tftpd"

PS: when make a patch use the "diff -u" ;)
Comment by Denis Yantarev (denn) - Thursday, 19 February 2009, 06:52 GMT
Yep, solution with conf.d include looks far more logical and flexible as tftp-hpa has other potentially useful params also.

Loading...