openwrt/package/network/services/hostapd/files/dhcp-get-server.sh
Felix Fietkau ea49690ff4 hostapd: add support for specifying the FILS DHCP server
The 'fils_dhcp' option can be set to '*' in order to autodetect the DHCP server
For proto=dhcp networks, the discovered dhcp server will be used
For all other networks, udhcpc is called to discover the address

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-12-10 11:33:49 +01:00

3 lines
47 B
Bash

#!/bin/sh
[ "$1" = bound ] && echo "$serverid"