mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 08:16:25 -06:00
Merge remote-tracking branch 'refs/remotes/origin/develop' into develop
This commit is contained in:
commit
759e983a2f
@ -20,7 +20,7 @@ DEBIAN_DIR=$DPKG_DIR/DEBIAN
|
||||
LQOS_DIR=$DPKG_DIR/opt/libreqos/src
|
||||
ETC_DIR=$DPKG_DIR/etc
|
||||
MOTD_DIR=$DPKG_DIR/etc/update-motd.d
|
||||
LQOS_FILES="graphInfluxDB.py influxDBdashboardTemplate.json integrationCommon.py integrationPowercode.py integrationRestHttp.py integrationSonar.py integrationSplynx.py integrationUISP.py integrationSonar.py LibreQoS.py lqos.example lqTools.py mikrotikFindIPv6.py network.example.json pythonCheck.py README.md scheduler.py ShapedDevices.example.csv lqos.example"
|
||||
LQOS_FILES="graphInfluxDB.py influxDBdashboardTemplate.json integrationCommon.py integrationPowercode.py integrationRestHttp.py integrationSonar.py integrationSplynx.py integrationUISP.py integrationSonar.py LibreQoS.py lqos.example lqTools.py mikrotikFindIPv6.py network.example.json pythonCheck.py README.md scheduler.py ShapedDevices.example.csv lqos.example ../requirements.txt"
|
||||
LQOS_BIN_FILES="lqos_scheduler.service.example lqosd.service.example lqos_node_manager.service.example"
|
||||
RUSTPROGS="lqosd lqtop xdp_iphash_to_cpu_cmdline xdp_pping lqos_node_manager lqusers lqos_setup lqos_map_perf uisp_integration lqos_support_tool"
|
||||
|
||||
@ -61,11 +61,8 @@ echo "#!/bin/bash" >> postinst
|
||||
echo "# Install Python Dependencies" >> postinst
|
||||
echo "pushd /opt/libreqos" >> postinst
|
||||
# - Setup Python dependencies as a post-install task
|
||||
while requirement= read -r line
|
||||
do
|
||||
echo "python3 -m pip install $line --break-system-packages" >> postinst
|
||||
echo "sudo python3 -m pip install $line --break-system-packages" >> postinst
|
||||
done < ../../../../requirements.txt
|
||||
echo "python3 -m pip install --break-system-packages -r src/requirements.txt" >> postinst
|
||||
echo "sudo python3 -m pip install --break-system-packages -r src/requirements.txt" >> postinst
|
||||
# - Run lqsetup
|
||||
echo "/opt/libreqos/src/bin/lqos_setup" >> postinst
|
||||
# - Setup the services
|
||||
|
Loading…
Reference in New Issue
Block a user