Update shinobi-v5.sh

add update
This commit is contained in:
tteckster 2022-12-31 20:31:20 -05:00 committed by GitHub
parent 475649dad9
commit 2f2683fd9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -319,8 +319,11 @@ function update_script() {
clear clear
header_info header_info
msg_info "Updating Shinobi LXC" msg_info "Updating Shinobi LXC"
apt-get update &>/dev/null cd /home/Shinobi
apt-get -y upgrade &>/dev/null sh UPDATE.sh
pm2 flush
pm2 restart camera
pm2 restart cron
msg_ok "Updated Shinobi LXC" msg_ok "Updated Shinobi LXC"
exit exit
} }