mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
17e7a3e fix lldp_description Fixes: WIFI-12269 Signed-off-by: John Crispin <john@phrozen.org>
12 lines
346 B
Bash
Executable File
12 lines
346 B
Bash
Executable File
#!/bin/sh
|
|
|
|
uci set lldpd.config.enable_cdp=0
|
|
uci set lldpd.config.enable_fdp=0
|
|
uci set lldpd.config.enable_sonmp=0
|
|
uci set lldpd.config.enable_edp=0
|
|
uci set lldpd.config.lldp_description="TIP/OpenAP"
|
|
uci set lldpd.config.lldp_hostname="$(cat /tmp/sysinfo/model)"
|
|
uci del lldpd.config.lldp_location
|
|
uci del lldpd.config.interface
|
|
uci commit lldpd
|