From 2f2683fd9c571e643209b9166f7952d9e2a3a98b Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 31 Dec 2022 20:31:20 -0500 Subject: [PATCH] Update shinobi-v5.sh add update --- ct/shinobi-v5.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ct/shinobi-v5.sh b/ct/shinobi-v5.sh index 27c98ae5..43892a32 100644 --- a/ct/shinobi-v5.sh +++ b/ct/shinobi-v5.sh @@ -319,8 +319,11 @@ function update_script() { clear header_info msg_info "Updating Shinobi LXC" -apt-get update &>/dev/null -apt-get -y upgrade &>/dev/null +cd /home/Shinobi +sh UPDATE.sh +pm2 flush +pm2 restart camera +pm2 restart cron msg_ok "Updated Shinobi LXC" exit }