projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ab7198
)
Enable background status collection for new installs
author
Jamie Cameron
<jcameron@webmin.com>
Wed, 2 Jun 2010 21:02:18 +0000
(14:02 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Wed, 2 Jun 2010 21:02:18 +0000
(14:02 -0700)
setup.sh
patch
|
blob
|
history
diff --git
a/setup.sh
b/setup.sh
index
0b6b434
..
3ab45a1
100755
(executable)
--- a/
setup.sh
+++ b/
setup.sh
@@
-808,6
+808,14
@@
if [ "$nopostinstall" = "" ]; then
echo ""
fi
+# Enable background collection
+if [ "$upgrading" != 1 ]; then
+ echo "Enabling background status collection .."
+ $config_dir/system-status/enable-collection.pl 5
+ echo "..done"
+ echo ""
+fi
+
# Run package-defined post-install script
if [ -r "$srcdir/setup-post.sh" ]; then
. "$srcdir/setup-post.sh"