Better auto-hiding of inetd and xinetd modules

This commit is contained in:
Jamie Cameron
2008-06-15 21:40:33 +00:00
parent 4d85b7a183
commit 0dca727d92
3 changed files with 15 additions and 2 deletions

14
inetd/install_check.pl Normal file
View File

@@ -0,0 +1,14 @@
# install_check.pl
do 'inetd-lib.pl';
# is_installed(mode)
# For mode 1, returns 2 if the server is installed and configured for use by
# Webmin, 1 if installed but not configured, or 0 otherwise.
# For mode 0, returns 1 if installed, 0 if not
sub is_installed
{
return 0 if (!-r $config{'inetd_conf_file'});
return $_[0] ? 2 : 1;
}

View File

@@ -9,7 +9,7 @@ desc_zh_CN=inetd
desc_pt=Serviços e Protocolos de Internet
category=net
desc_tr=Internet Servisleri ve Protokoller
os_support=slackware-linux redhat-linux{-r "/etc/inetd.conf"} mandrake-linux{-r "/etc/inetd.conf"} solaris debian-linux suse-linux united-linux hpux freebsd unixware openserver osf1 macos open-linux turbo-linux openbsd corel-linux cobalt-linux lfs-linux aix netbsd msc-linux generic-linux gentoo-linux{-r "/etc/inetd.conf"} irix sol-linux coherent-linux
os_support=solaris *-linux hpux freebsd unixware openserver osf1 macos openbsd netbsd irix
desc=Internet Services and Protocols
desc_es=Servicios y Protocolos de Internet
desc_sv=Internettjänster och -protokoll

View File

@@ -1,7 +1,6 @@
category=net
desc_ko_KR.euc=È®Àå ÀÎÅÍ³Ý ¼­ºñ½º
risk=low medium high
os_support={-r "/etc/xinetd.conf" || -x "/usr/sbin/xinetd" || -x "/sbin/xinetd" || -r "/usr/local/etc/xinetd.conf"}
desc_pl=Rozszerzone us³ugi internetowe (XInetd)
desc=Extended Internet Services
desc_es=Servicios Extendidos de Internet (XInetd)