Compare commits

..

No commits in common. "693367e2782a6f631a311c8e7641ce7ea6d73284" and "1698598a7ecb59d59213ac7cbead290343acdd6b" have entirely different histories.

4 changed files with 21 additions and 24 deletions

View File

@ -7,18 +7,6 @@
- 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.
## 2024-01-16
### Changed
- **Website Improvements**
- Refine and correct pointers.
- Change hover colors to intuitively indicate categories/items.
- Implement opening links in new tabs for better navigation.
- Enhance the Copy button to better indicate that the command has been successfully copied.
- Introduce a Clear Search button.
- While not directly related to the website, it's worth mentioning that the logo in newly created LXC notes now serves as a link to the website, conveniently opening in a new tab.
## 2024-01-12 ## 2024-01-12
### Changed ### Changed

View File

@ -56,17 +56,26 @@ function update_script() {
header_info header_info
if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit; fi if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1) latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
latest_version=$(basename "${latest_url}") latest_version=$(basename "${latest_url}" | sed -e 's/.*ller_//;s/_Li.*//')
if [ -z "${latest_version}" ]; then if [ -z "${latest_version}" ]; then
msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time." msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time."
exit exit
fi fi
echo -e "Updating Omada Controller" installed_version=$(dpkg -l | grep omada | awk '{print $3}')
wget -qL ${latest_url}
dpkg -i ${latest_version} if [ "v${installed_version}" = "${latest_version}" ]; then
rm -rf ${latest_version} msg_info "Installed version (v${installed_version}) is the same as the latest version (${latest_version})"
echo -e "Updated Omada Controller" sleep 2
msg_ok "Omada Controller is already up to date"
exit
else
echo -e "Updating Omada Controller to ${latest_version}"
wget -qL ${latest_url}
dpkg -i Omada_SDN_Controller_${latest_version}_Linux_x64.deb
rm -rf Omada_SDN_Controller_${latest_version}_Linux_x64.deb
echo -e "Updated Omada Controller to ${latest_version}"
exit exit
fi
} }
start start

View File

@ -37,18 +37,18 @@ $STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
msg_ok "Installed MongoDB" msg_ok "Installed MongoDB"
latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1) latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
latest_version=$(basename "$latest_url") latest_version=$(basename "$latest_url" | sed -e 's/.*ller_//;s/_Li.*//')
msg_info "Installing Omada Controller" msg_info "Installing Omada Controller ${latest_version}"
wget -qL ${latest_url} wget -qL ${latest_url}
$STD dpkg -i ${latest_version} $STD dpkg -i Omada_SDN_Controller_${latest_version}_Linux_x64.deb
msg_ok "Installed Omada Controller" msg_ok "Installed Omada Controller ${latest_version}"
motd_ssh motd_ssh
customize customize
msg_info "Cleaning up" msg_info "Cleaning up"
rm -rf ${latest_version} mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb rm -rf Omada_SDN_Controller_${latest_version}_Linux_x64.deb mongodb-org-server_3.6.23_amd64.deb zulu-repo_1.0.0-3_all.deb libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb
$STD apt-get autoremove $STD apt-get autoremove
$STD apt-get autoclean $STD apt-get autoclean
msg_ok "Cleaned" msg_ok "Cleaned"

View File

@ -449,7 +449,7 @@ qm set $VMID \
-efidisk0 ${DISK0_REF}${FORMAT} \ -efidisk0 ${DISK0_REF}${FORMAT} \
-scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=32G \ -scsi0 ${DISK1_REF},${DISK_CACHE}${THIN}size=32G \
-boot order=scsi0 \ -boot order=scsi0 \
-description "<div align='center'><a href='https://Helper-Scripts.com' target='_blank' rel='noopener noreferrer'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a> -description "<div align='center'><a href='https://Helper-Scripts.com'><img src='https://raw.githubusercontent.com/tteck/Proxmox/main/misc/images/logo-81x112.png'/></a>
# Home Assistant OS # Home Assistant OS