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

Commit

Permalink
Clarify ETC_HOSTS and ADDN_HOSTS in --help and example create_ap.conf…
Browse files Browse the repository at this point in the history
… comments
  • Loading branch information
dlenski committed May 21, 2021
1 parent 1210770 commit 6704dac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions create_ap
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ usage() {
echo " --no-dnsmasq Disable dnsmasq completely (implies --no-dns and also disables DHCP)"
echo " -g <gateway> IPv4 Gateway address for the Access Point (default: 192.168.12.1)"
echo " --ipv6 Enable IPv6 support"
echo " -d DNS server will take into account /etc/hosts"
echo " -e <hosts_file> DNS server will take into account additional hosts file"
echo " -d DNS server will include /etc/hosts in its results"
echo " -e <hosts_file> DNS server will include additional hosts file in its results"
echo
echo "Useful informations:"
echo " * If you're not using the --no-virt option, then you can create an AP with the same"
Expand Down
4 changes: 3 additions & 1 deletion create_ap.conf
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ DHCP_DNS6=
NO_DNS=0
# Set to 1 to disable dnsmasq completely (DHCP and DNS)
NO_DNSMASQ=0
# Whether dnsmasq should use DNS servers provided in /etc/hosts or not
# Set to 1 to make dnsmasq DNS server include /etc/hosts in its results
ETC_HOSTS=0
# Additional host file that dnsmasq should include in its results
ADDN_HOSTS=
# Set to 1 to enable MAC address based authentication
MAC_FILTER=0
# Acceptance list for MAC address based authentication
Expand Down

0 comments on commit 6704dac

Please sign in to comment.