From 0742f6eda5838897abd4b5cc66bf2cf5c040951a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 30 Jan 2024 17:50:20 +0000 Subject: [PATCH] core184: Ship vnstat Signed-off-by: Michael Tremer --- config/rootfiles/core/184/filelists/vnstat | 1 + config/rootfiles/core/184/update.sh | 2 ++ 2 files changed, 3 insertions(+) create mode 120000 config/rootfiles/core/184/filelists/vnstat diff --git a/config/rootfiles/core/184/filelists/vnstat b/config/rootfiles/core/184/filelists/vnstat new file mode 120000 index 0000000000..2e2e6100bf --- /dev/null +++ b/config/rootfiles/core/184/filelists/vnstat @@ -0,0 +1 @@ +../../../common/vnstat \ No newline at end of file diff --git a/config/rootfiles/core/184/update.sh b/config/rootfiles/core/184/update.sh index 1059d1a1ba..4369846906 100644 --- a/config/rootfiles/core/184/update.sh +++ b/config/rootfiles/core/184/update.sh @@ -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 -- 2.39.5