longdesc=Configure the portsentry, hostsentry and logcheck system security monitoring programs.
readonly=1
os_support=!windows
-nondefault=1
desc_cz=Bezpeènostní hlídaè
desc_nl=Beveiligings Sentries (Schildwachten)
# Validate source directory
allmods=`cd "$srcdir"; echo */module.info | sed -e 's/\/module.info//g'`
-defaultallmods=`cd "$srcdir"; echo */module.info | xargs grep -L nondefault=1 2>/dev/null | sed -e 's/\/module.info//g'`
-if [ "$defaultallmods" = "" ]; then
- defaultallmods="$allmods"
-fi
if [ "$allmods" = "" ]; then
echo "ERROR: Failed to get module list"
echo ""
afile=$config_dir/webmin.acl
rm -f $afile
if [ "$defaultmods" = "" ]; then
- echo "$login: $defaultallmods" >> $afile
+ echo "$login: $allmods" >> $afile
else
echo "$login: $defaultmods" >> $afile
fi