create_ap

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

commit 142c1b76c867a261840b093558f54a2185eb94a7
parent c6eea2102020a426e589125e5a50e41978924cf5
Author: oblique <psyberbits@gmail.com>
Date:   Sun Aug 31 12:49:45 +0300

Remove a trailing whitespace

Diffstat:
create_ap | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/create_ap b/create_ap @@ -259,7 +259,7 @@ cleanup() { if [[ "$SHARE_METHOD" != "none" ]]; then if [[ "$SHARE_METHOD" == "nat" ]]; then - iptables -t nat -D POSTROUTING -o ${INTERNET_IFACE} -j MASQUERADE > /dev/null 2>&1 + iptables -t nat -D POSTROUTING -o ${INTERNET_IFACE} -j MASQUERADE > /dev/null 2>&1 iptables -D FORWARD -i ${WIFI_IFACE} -s ${GATEWAY%.*}.0/24 -j ACCEPT > /dev/null 2>&1 iptables -D FORWARD -i ${INTERNET_IFACE} -d ${GATEWAY%.*}.0/24 -j ACCEPT > /dev/null 2>&1 [[ -n $OLD_IP_FORWARD ]] && echo $OLD_IP_FORWARD > /proc/sys/net/ipv4/ip_forward