summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Donald2024-02-08 20:29:37 +0000
committerRobert Marko2024-09-17 10:36:03 +0000
commit89759ee4bb9f48d744cd1a176d9b6e56f91b9047 (patch)
tree848fbcdcaf71b49ff05c1f8e399a4449dd7e03b3
parent50135a03a614182c75a51643c365a06e31fa1e8e (diff)
downloadopenwrt-89759ee4bb9f48d744cd1a176d9b6e56f91b9047.tar.gz
lldpd: remove unneeded quotes and variable quoting
from commit 3ce909914a12647bec52bcee0a162dd6d158a4f6 'capabilities enabled x' where x is a string of CSV Tested on 22.03.5 Signed-off-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit b039641071b1e9ee9654513ef3229bb97cc379af) Link: https://github.com/openwrt/openwrt/pull/15299 Signed-off-by: Robert Marko <robimarko@gmail.com>
-rw-r--r--package/network/services/lldpd/files/lldpd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/lldpd/files/lldpd.init b/package/network/services/lldpd/files/lldpd.init
index 6af15691e7..3fc47bb3e3 100644
--- a/package/network/services/lldpd/files/lldpd.init
+++ b/package/network/services/lldpd/files/lldpd.init
@@ -145,7 +145,7 @@ write_lldpd_conf()
[ -n "$lldp_description" ] && echo "configure system description" "\"$lldp_description\"" >> "$LLDPD_CONF"
[ -n "$lldp_hostname" ] && echo "configure system hostname" "\"$lldp_hostname\"" >> "$LLDPD_CONF"
[ -n "$lldp_mgmt_ip" ] && echo "configure system ip management pattern" "\"$lldp_mgmt_ip\"" >> "$LLDPD_CONF"
- [ -n "$lldp_syscapabilities" ] && echo "configure system capabilities enabled" "\"$lldp_syscapabilities\"" >> "$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"