X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage5%2Fpkg%2Ftftp-hpa;h=351c429a43923a09a45bd01f5f39af47cd882f59;hb=78453e212ec7952477a5de2f702bfcab54e7a89c;hp=14a4f1531eb443f8d627a1543494f4c6d3253b39;hpb=f3c8db3027d5dc530e1f30c88e0235975211582e;p=hvlinux.git diff --git a/stage5/pkg/tftp-hpa b/stage5/pkg/tftp-hpa index 14a4f15..351c429 100644 --- a/stage5/pkg/tftp-hpa +++ b/stage5/pkg/tftp-hpa @@ -3,8 +3,7 @@ hvconfig_pre() { # Need to specify mandir manually because of a stupid programming error. - CONFIGURE_OPTS="\ - ${CONFIGURE_OPTS} \ + CONFIGURE_OPTS+=" \ --mandir=/usr/man \ --without-tcpwrappers" } @@ -13,6 +12,18 @@ hvbuild_post() { mkdir -v -p /srv/tftpboot - # Addition to /etc/inetd.conf - string_add "tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /srv/tftpboot -v -v -v -v -v" /etc/inetd.conf + # Addition to xinetd + cat > /etc/xinetd.d/tftp << "EOF" +service tftp +{ + disable = no + socket_type = dgram + protocol = udp + wait = yes + user = root + server = /usr/sbin/in.tftpd + server_args = -s /srv/tftpboot -v -v -v -v -v + log_type = SYSLOG local4 info +} +EOF }