Compare commits

..

2 Commits

Author SHA1 Message Date
Ryan Freeman f956428321
Update pihole.sh to update PiHole service (#2781)
Add pihole update functionality
2024-04-12 12:13:39 -04:00
tteckster 170066a73b
Update CHANGELOG.md 2024-04-12 06:30:20 -04:00
2 changed files with 12 additions and 4 deletions

View File

@ -10,6 +10,13 @@
- All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment. - All LXC instances created using this repository come pre-installed with Midnight Commander, which is a command-line tool (`mc`) that offers a user-friendly file and directory management interface for the terminal environment.
- 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>** - 🚨 **The scripts in the repository will no longer provide support for Proxmox VE 7 starting from July 2024 (scripts will not execute on PVE7). Subsequent <a href='https://forum.proxmox.com/threads/proxmox-ve-support-lifecycle.35755/' target='_blank' rel='noopener noreferrer'>Proxmox VE - Support Lifecycle</a>**
## 2024-04-12
### Changed
- **OpenMediaVault LXC**
- Removed from website
## 2024-04-09 ## 2024-04-09
### Changed ### Changed

View File

@ -55,11 +55,12 @@ function default_settings() {
function update_script() { function update_script() {
header_info header_info
if [[ ! -d /etc/pihole ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /etc/pihole ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC" msg_info "Updating ${APP}"
apt-get update &>/dev/null set +e
apt-get -y upgrade &>/dev/null pihole -up
msg_ok "Updated Successfully" msg_ok "Updated ${APP}"
exit exit
fi
} }
start start