Handle hostnames with upper-case letters
[webmin.git] / setup.sh
index ec84b16..57b55dd 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -453,7 +453,6 @@ else
                        echo "Webmin does not support being started at boot time on your system."
                fi
        fi
-       makeboot=$atboot
 
        # Copy files to target directory
        echo "***********************************************************************"
@@ -811,7 +810,7 @@ if [ "$nopostinstall" = "" ]; then
 fi
 
 # Enable background collection
-if [ "$upgrading" != 1 ]; then
+if [ "$upgrading" != 1 -a -r $config_dir/system-status/enable-collection.pl ]; then
        echo "Enabling background status collection .."
        $config_dir/system-status/enable-collection.pl 5
        echo "..done"