]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/paks/sarg/install.sh
sarg: Create initial report right after sarg has been installed.
[people/pmueller/ipfire-2.x.git] / src / paks / sarg / install.sh
index 72406d964a2b87026d4e446eebf7e4ef21eda471..d3b17a9744e20b9b123fcd006fbdb5fa873d0d8a 100644 (file)
@@ -27,3 +27,8 @@ restore_backup ${NAME}
 
 # Create data directory.
 [ -d "/var/log/sarg" ] || mkdir /var/log/sarg
+
+# Create initial report.
+/usr/sbin/update-sarg-reports today >/dev/null 2>&1
+
+exit 0