[openwrt/openwrt] lldpd: remove unneeded quotes and variable quoting
LEDE Commits
lede-commits at lists.infradead.org
Tue Sep 17 03:36:34 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/4446346fdd097adaee9d85c4bb610f6ee4156b84
commit 4446346fdd097adaee9d85c4bb610f6ee4156b84
Author: Paul Donald <newtwen at gmail.com>
AuthorDate: Thu Feb 8 21:31:57 2024 +0100
lldpd: remove unneeded quotes and variable quoting
from commit 24176a6bdd8f26040a97960868fd0d9ee968d695
Tested on 22.03.5
Signed-off-by: Paul Donald <newtwen at gmail.com>
(cherry picked from commit 20a4dddeb0366a56c14f9128392ffe8d0b62e32d)
Link: https://github.com/openwrt/openwrt/pull/15299
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/network/services/lldpd/files/lldpd.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index fc24b9f7cd..47354f3c4e 100644
--- a/package/network/services/lldpd/files/lldpd.init
+++ b/package/network/services/lldpd/files/lldpd.init
@@ -148,7 +148,7 @@ write_lldpd_conf()
[ -n "$lldp_syscapabilities" ] && echo "configure system capabilities enabled" "\"$lldp_syscapabilities\"" >> "$LLDPD_CONF"
if [ "$CONFIG_LLDPD_WITH_LLDPMED" == "y" ] && [ $lldpmed_fast_start -gt 0 ]; then
if [ $lldpmed_fast_start_tx_interval -gt 0 ]; then
- echo "configure med fast-start tx-interval" "\"$lldpmed_fast_start_tx_interval\"" >> "$LLDPD_CONF"
+ echo "configure med fast-start tx-interval $lldpmed_fast_start_tx_interval" >> "$LLDPD_CONF"
else
echo "configure med fast-start" "enable" >> "$LLDPD_CONF"
fi
More information about the lede-commits
mailing list