Section: Linux Programmer's Manual (3pm)
Updated: 21 September 1995
DebianNet.pm - create, remove, enable or disable entry in /etc/inetd.conf
You can use the functions in DebianNet.pm to to add, remove, enable or disable entries in the /etc/inetd.conf file. After the /etc/inetd.conf file has been changed, a SIGHUP signal will be sent to the inetd process to make sure that inetd will use the new /etc/inetd.conf file. The functions can also be used to add entries that are commented out by default. They will be treated like normal entries. That also means that if you already have an entry that is commented out you can't add an entry for the same service without removing the old one first.
The DebianNet functions treat entries that are commented out by a single '#' character as entries that have been commented out by a user. It won't change such entries.
Peter Tobias, <[email protected]>
Ian Jackson <[email protected]>
Tutoriais de Tecnologia Web