mirror of
https://github.com/webmin/webmin.git
synced 2026-05-14 10:40:29 +01:00
Fix not to print newly created module config dirs to stdout
This commit is contained in:
@@ -528,7 +528,7 @@ if [ "$post_config" = "1" ]; then
|
||||
# Copy config file to /etc/webmin or /etc/usermin
|
||||
os_type=`grep "^os_type=" /etc/$product/config | sed -e 's/os_type=//g'`
|
||||
os_version=`grep "^os_version=" /etc/$product/config | sed -e 's/os_version=//g'`
|
||||
/usr/bin/perl /usr/share/$product/copyconfig.pl \$os_type \$os_version /usr/share/$product /etc/$product $mod
|
||||
/usr/bin/perl /usr/share/$product/copyconfig.pl \$os_type \$os_version /usr/share/$product /etc/$product $mod >/dev/null
|
||||
|
||||
# Update the ACL for the root user, or the first user in the ACL
|
||||
grep "^root:" /etc/$product/webmin.acl >/dev/null
|
||||
|
||||
@@ -492,7 +492,7 @@ if [ "$post_config" = "1" ]; then
|
||||
os_version=`grep "^os_version=" /etc/$prog/config | sed -e 's/os_version=//g'`
|
||||
real_os_type=`grep "^real_os_type=" /etc/$prog/config | sed -e 's/real_os_type=//g'`
|
||||
real_os_version=`grep "^real_os_version=" /etc/$prog/config | sed -e 's/real_os_version=//g'`
|
||||
/usr/bin/perl /usr/libexec/$prog/copyconfig.pl "\$os_type/\$real_os_type" "\$os_version/\$real_os_version" /usr/libexec/$prog /etc/$prog $mod
|
||||
/usr/bin/perl /usr/libexec/$prog/copyconfig.pl "\$os_type/\$real_os_type" "\$os_version/\$real_os_version" /usr/libexec/$prog /etc/$prog $mod >/dev/null
|
||||
|
||||
# Update the ACL for the root user, or the first user in the ACL
|
||||
grep "^root:" /etc/$prog/webmin.acl >/dev/null
|
||||
|
||||
Reference in New Issue
Block a user