Add update to librenms
This commit is contained in:
parent
e5ee17809a
commit
8c2467c69f
@ -27,7 +27,11 @@ function update_script() {
|
|||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
msg_error "Update not supported!"
|
msg_info "Updating ${APP} Installation"
|
||||||
|
su librenms
|
||||||
|
cd /opt/librenms
|
||||||
|
./daily.sh
|
||||||
|
msg_ok "Updated ${APP} Installation"
|
||||||
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user