
#-----------------------------------------------------------------------
# MODULE CONFIGURATION
#-----------------------------------------------------------------------
#
#m# 123
#a# accept
#n# webmin
#t# clients
#
#   |--------------------------------------------------------------------|
#d# Webmin is a configuration utility that allows clients to connect to a
#d# remote machine. The default port is 10000. Enter the IP addresses or
#d# hostnames that you would like to allow to access your Webmin server
#d# below.
#   |--------------------------------------------------------------------|
#
#-----------------------------------------------------------------------
# START OF MODULE CODE
#-----------------------------------------------------------------------

module_name="webmin"	# module name used in options
module_type="clients"	# the module type (clients, servers, etc.)
service_name="Webmin"	# displayed on-screen
service_port="10000"	# port number for this service

for action in accept
do
	for host in `Option_Value $action $INTOPT $module_name $module_type`
	do
		Hostports $action local tcp "$service_name" $host $service_port
	done
done

unset module_name module_type service_name service_port
unset action host

