On 02/17/2011 11:25 PM, John Goerzen wrote:
> I have set:
> 
> TFTP_DIRECTORY="/var/lib/tftpboot /usr/local/tftproot"
> 
> and am using the attached init script.

your attached init script isn't different from mine in the patch applied
to last message apart from the fact that it doesn't fail if a directory
isn't existing, but that's just a cosmetical thing.

> The manpage indicates that in.tftpd() can simply take multiple
> directories on the command line.

right, but still, as said previously, it doesn't work for me:

---snip---
[...]
Starting HPA's tftpd: in.tftpd+ log_daemon_msg_post Starting HPA's tftpd
in.tftpd
+ :
+ do_start
+ start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/in.tftpd
-- --listen --user tftp --address 0.0.0.0:69 --secure /srv/tftp /srv/tftp2
root@debian:~# echo $?
64
root@debian:~#
---snip---

which is why i'm still puzzled why it works for you.

> I'm not sure what the $(echo ...) bit is trying to do; it seems that
> simply using the variable as-is should work.

there's only one '$(echo' in the packaging, and that is in the postinst.
are you refereing to this? if so.. that echo is supposed to set the home
directory of the adduser call to first directory specified in
TFTP_DIRECTORY, as a user can't have multiple home directories at the
same time.

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baum...@progress-technologies.net
Internet:       http://people.progress-technologies.net/~daniel.baumann/



-- 
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