create_ap

create a nat-ed wifi ap
git clone git://git.2f30.org/create_ap.git
Log | Files | Refs | LICENSE

commit 77ef5e992b3c6996d7bc168835dc335a103938cb
parent b359b899e863a030e2d73550bc9c664062fd3cec
Author: oblique <psyberbits@gmail.com>
Date:   Wed Sep  2 00:03:43 +0300

Revert "Make dnsmasq.conf readable from everyone"

This reverts commit d19aaa2f5697e787214b1762a710fd05e3fc28d0.

Diffstat:
create_ap | 2--
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/create_ap b/create_ap @@ -1515,7 +1515,6 @@ fi if [[ "$SHARE_METHOD" == "bridge" ]]; then echo "bridge=${BRIDGE_IFACE}" >> $CONFDIR/hostapd.conf else - umask 0033 # dnsmasq config (dhcp + dns) DNSMASQ_VER=$(dnsmasq -v | grep -m1 -oE '[0-9]+(\.[0-9]+)*\.[0-9]+') version_cmp $DNSMASQ_VER 2.63 @@ -1531,7 +1530,6 @@ dhcp-range=${GATEWAY%.*}.1,${GATEWAY%.*}.254,255.255.255.0,24h dhcp-option=option:router,${GATEWAY} EOF [[ $ETC_HOSTS -eq 0 ]] && echo no-hosts >> $CONFDIR/dnsmasq.conf - umask $SCRIPT_UMASK fi # initialize WiFi interface