Properly force start at boot when upgrading
authorJamie Cameron <jcameron@webmin.com>
Sat, 23 Jul 2011 23:19:55 +0000 (16:19 -0700)
committerJamie Cameron <jcameron@webmin.com>
Sat, 23 Jul 2011 23:19:55 +0000 (16:19 -0700)
makedebian.pl
setup.sh

index e7ab46b..a04705a 100755 (executable)
@@ -285,12 +285,13 @@ fi
 host=`hostname`
 ssl=1
 atboot=1
+makeboot=1
 nochown=1
 autothird=1
 noperlpath=1
 nouninstall=1
 nostart=1
-export config_dir var_dir perl autoos port login crypt host ssl nochown autothird noperlpath nouninstall nostart allow atboot
+export config_dir var_dir perl autoos port login crypt host ssl nochown autothird noperlpath nouninstall nostart allow atboot makeboot
 tempdir=/tmp/.webmin
 if [ ! -d \$tempdir ]; then
        tempdir=/tmp
index 3662975..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 "***********************************************************************"