I went ahead and patched the init script so you can omit all Variables
in the configuration. In my opinion its the cleanest to just dont set
the TFTP_ADDRESS variable and the script then doesnt pass the
--address option to in.tftpd.

--- tftpd-hpa.save 2015-05-21 11:23:28.841023590 +0200
+++ tftpd-hpa 2015-05-21 11:13:41.716011919 +0200
@@ -25,6 +25,7 @@
 set -e

 [ -r "$DEFAULTS" ] && . "$DEFAULTS"
+TFTP_DIRECTORY="${TFTP_DIRECTORY:-/srv/tftp}"

 . /lib/lsb/init-functions

@@ -53,7 +54,7 @@
  done

  start-stop-daemon --start --quiet --oknodo --exec $DAEMON -- \
- --listen --user $TFTP_USERNAME $TFTP_ADDRESS \
+ --listen ${TFTP_USERNAME:+--user $TFTP_USERNAME}
${TFTP_ADDRESS:+--address $TFTP_ADDRESS} \
  $TFTP_OPTIONS $TFTP_DIRECTORY
 }


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to