[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[patch] debian-manual add xinetd snippet for tftpd



belows patch adds a note about how to start tftpd from xinetd.

--
maks

Index: installer/doc/manual/en/install-methods/install-tftp.xml
===================================================================
--- installer/doc/manual/en/install-methods/install-tftp.xml	(revision 24001)
+++ installer/doc/manual/en/install-methods/install-tftp.xml	(working copy)
@@ -91,8 +91,27 @@
 </screen></informalexample>
 
 Debian packages will in general set this up correctly by default when they
-are installed.
+are installed. But if you are using <command>xinetd</command>, you may need to add the following snippet in <filename>/etc/xinetd.conf</filename>:
 
+<informalexample><screen>
+
+
+service tftp
+{
+        disable = no
+	socket_type             = dgram
+	protocol                = udp
+	wait                    = yes
+	user                    = root
+	server                  = /usr/sbin/in.tftpd
+	flags                   = IPv4
+}
+
+
+</screen></informalexample>
+
+Restart afterwards the <command>xinetd</command> with <userinput>/etc/init.d/xinetd restart</userinput>.
+
 </para><para>
 
 Look in that file and remember the directory which is used as the



Reply to: