.\" Copyright 1995 Peter Tobias .\" May be distributed under the GNU General Public License .TH update-inetd 8 "21 September 1995" "Linux" "Linux Programmer's Manual" .SH NAME update\-inetd \- create, remove, enable or disable entry in /etc/inetd.conf .SH SYNOPSIS .B update\-inetd [\-\-file FILENAME] [\-\-help] [\-\-version] [\-\-verbose] [\-\-comment-chars CHARACTERS] [\-\-debug] [\-\-group GROUPNAME] \-\-add ENTRY .B update\-inetd [\-\-file FILENAME] [\-\-help] [\-\-version] [\-\-verbose] [--debug] \-\-remove ENTRY .B update\-inetd [\-\-file FILENAME] [\-\-help] [\-\-version] [\-\-verbose] [\-\-comment-chars CHARACTERS] [\-\-pattern PATTERN] [\-\-debug] \-\-enable SERVICE .B update\-inetd [\-\-file FILENAME] [\-\-help] [\-\-version] [\-\-verbose] [\-\-comment-chars CHARACTERS] [\-\-pattern PATTERN] [\-\-debug] \-\-disable SERVICE .SH DESCRIPTION .B update\-inetd can be used to add, remove, enable or disable entries in the .IR /etc/inetd.conf file (you can specify a different file by using the .B \-\-file option). After the .IR /etc/inetd.conf file has been changed, .B update\-inetd will send a SIGHUP signal to the inetd process to make sure that inetd will use the new .IR /etc/inetd.conf file. For Perl scripts you can also use the Perl module .B DebianNet.pm \&. See .BR DebianNet (3pm) for further information. .SH OPTIONS .TP .I "\-\-version" Print version information on standard output and exit successfully. .TP .I "\-\-help" Print a usage message on standard output and exit successfully. .TP .I "\-\-verbose" Explain what is being done. .TP .I "\-\-debug" Enables debugging mode. .TP .I "\-\-file FILENAME" Use FILENAME instead of .IR /etc/inetd.conf \&. .TP .I "\-\-group GROUPNAME" Specify that the new entry should be placed in group GROUPNAME (e.g. \*(rqMAIL"). If the group does not exist the entry will be placed at the end of the file. The default group is \*(rqOTHER". .TP .I "\-\-comment-chars CHARACTERS" update-inetd uses \*(rq##\ \*(rq as the default comment characters. You can use this option to specify different comment characters. This is only necessary if you have to deal with two (or more) services of the same name. .TP .I "\-\-pattern PATTERN" This option can be used to select a service. You only need this option if you have two (or more) services of the same name. .TP .I "\-\-remove ENTRY" Remove an entry from .IR /etc/inetd.conf \&. You can use a regular expression to remove the entry. .TP .I "\-\-enable SERVICE" Enable SERVICE (e.g. \*(rqftp") in .IR /etc/inetd.conf \&. If you want to enable more than one SERVICE you can use a comma separated list of services (no whitespace characters allowed). .TP .I "\-\-disable SERVICE" Disable SERVICE (e.g. \*(rqftp") in .IR /etc/inetd.conf \&. If you want to enable more than one SERVICE you can use a comma separated list of services (no whitespace characters allowed). .PP In order to prevent the shell from changing your ENTRY definition you have to quote the ENTRY using single or double quotes. You can use tabs (the tab character or \\t) and spaces to separate the fields of the ENTRY. If you want to enable/disable more than one SERVICE you can use a comma separated list of services (no whitespace characters allowed). .SH AUTHOR Peter Tobias, .SH SEE ALSO DebianNet(3pm)