This commit is contained in:
Robert Chacon committed 2026-03-13 21:44:39 -06:00
1 parent 17b9fab2cd
commit 4b63250011
2 files changed
+15

No files matched your search

+13
View File
@@ -39,6 +39,7 @@ LQOS_FILES=(
scheduler.py
ShapedDevices.example.csv
shaping_skip_report.py
systemd_hotfix.sh
virtual_tree_nodes.py
mikrotikDHCPRouterList.template.csv
integrationUISPbandwidths.template.csv
@@ -115,6 +116,18 @@ popd > /dev/null || exit
pushd "$DEBIAN_DIR" > /dev/null || exit
cat <<EOF > postinst
#!/bin/bash
if /opt/libreqos/src/systemd_hotfix.sh should-offer >/dev/null 2>&1; then
cat >&2 <<'HOTFIX'
LibreQoS requires the Ubuntu 24.04 systemd-networkd hotfix on this host before installation can continue.
Run:
HOTFIX_BASE_URL=https://downloads.libreqos.com sudo /opt/libreqos/src/systemd_hotfix.sh install
Then re-run the LibreQoS package installation.
HOTFIX
exit 1
fi
# Install Python Dependencies
pushd /opt/libreqos
# - Setup Python dependencies as a post-install task
+2
View File
@@ -135,6 +135,8 @@ fi
echo "-----------------------------------------------------------------"
echo "Don't forget to setup /etc/lqos.conf!"
echo "Template .service files can be found in bin/"
echo "Use ./systemd_hotfix.sh to evaluate or install the Ubuntu 24.04 networkd hotfix bundle."
echo "LibreQoS package installs on affected Ubuntu 24.04 hosts now require the hotfix first."
echo ""
echo "Run sudo rust/remove_pinned_maps.sh before you restart lqosd"
echo "This ensures that any data-format changes will apply correctly."