Skip to content

Commit

Permalink
build_dpkg.sh: improvement - its better to check iface ip every motd …
Browse files Browse the repository at this point in the history
…run (lqos ip could change in time)
  • Loading branch information
interduo authored Jul 31, 2024
1 parent 6189672 commit 5c62730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build_dpkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ cp -R rust/lqos_node_manager/static/* $LQOS_DIR/bin/static
pushd $MOTD_DIR > /dev/null
cat <<EOF > 99-libreqos
#!/bin/bash
MY_IP=`hostname -I | cut -d' ' -f1`
MY_IP=\`hostname -I | cut -d' ' -f1\`
echo -e "\nLibreQoS Traffic Shaper is installed on this machine.
\nPoint a browser at http://\$MY_IP:9123/ to manage it.\n"
EOF
Expand Down

0 comments on commit 5c62730

Please sign in to comment.