Skip to content
This repository was archived by the owner on Sep 30, 2021. It is now read-only.

Commit 6704dac

Browse files
committed
Clarify ETC_HOSTS and ADDN_HOSTS in --help and example create_ap.conf comments
1 parent 1210770 commit 6704dac

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

create_ap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ usage() {
8585
echo " --no-dnsmasq Disable dnsmasq completely (implies --no-dns and also disables DHCP)"
8686
echo " -g <gateway> IPv4 Gateway address for the Access Point (default: 192.168.12.1)"
8787
echo " --ipv6 Enable IPv6 support"
88-
echo " -d DNS server will take into account /etc/hosts"
89-
echo " -e <hosts_file> DNS server will take into account additional hosts file"
88+
echo " -d DNS server will include /etc/hosts in its results"
89+
echo " -e <hosts_file> DNS server will include additional hosts file in its results"
9090
echo
9191
echo "Useful informations:"
9292
echo " * If you're not using the --no-virt option, then you can create an AP with the same"

create_ap.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,10 @@ DHCP_DNS6=
7171
NO_DNS=0
7272
# Set to 1 to disable dnsmasq completely (DHCP and DNS)
7373
NO_DNSMASQ=0
74-
# Whether dnsmasq should use DNS servers provided in /etc/hosts or not
74+
# Set to 1 to make dnsmasq DNS server include /etc/hosts in its results
7575
ETC_HOSTS=0
76+
# Additional host file that dnsmasq should include in its results
77+
ADDN_HOSTS=
7678
# Set to 1 to enable MAC address based authentication
7779
MAC_FILTER=0
7880
# Acceptance list for MAC address based authentication

0 commit comments

Comments
 (0)