]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core184: Ship vnstat
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2024 17:50:20 +0000 (17:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 30 Jan 2024 17:51:11 +0000 (17:51 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/184/filelists/vnstat [new symlink]
config/rootfiles/core/184/update.sh

diff --git a/config/rootfiles/core/184/filelists/vnstat b/config/rootfiles/core/184/filelists/vnstat
new file mode 120000 (symlink)
index 0000000..2e2e610
--- /dev/null
@@ -0,0 +1 @@
+../../../common/vnstat
\ No newline at end of file
index 1059d1a1ba5d54abe10ba7832229b64bb9f46294..4369846906a87f0005c58e6b1caff25cea035aed 100644 (file)
@@ -32,6 +32,7 @@ for (( i=1; i<=$core; i++ )); do
 done
 
 # Stop services
+/etc/init.d/vnstat stop
 
 # Extract files
 extract_files
@@ -51,6 +52,7 @@ ldconfig
 /usr/local/bin/sshctrl
 
 # Start services
+/etc/init.d/vnstat start
 
 # This update needs a reboot...
 #touch /var/run/need_reboot