Changeset 256
- Timestamp:
- 03/14/07 18:52:05 (2 years ago)
- Files:
-
- wifidog/wifidog-client/scripts/openwrt/S65wifidog (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wifidog/wifidog-client/scripts/openwrt/S65wifidog
r250 r256 16 16 WD_DIR=/usr/bin 17 17 OPTIONS="-c /var/etc/wifidog.conf" 18 case $(nvram get wan_proto) in 19 pppoe) 20 ext_int=ppp0 21 ;; 22 static) 23 ext_int=$(nvram get wan_ifname) 24 ;; 25 dhcp) 26 ext_int=$(nvram get wan_ifname) 27 ;; 28 *) 29 com=# 30 ;; 31 esac 18 32 long=$(echo $(nvram get ff_adm_gps) | sed -e "s/\(.+\);\(.+\)/\1/") 19 33 lat=$(echo $(nvram get ff_adm_gps) | sed -e "s/\(.+\);\(.+\)/\2/") … … 48 62 # Set this to the external interface. Typically vlan1 for OpenWrt, and eth0 or ppp0 otherwise 49 63 50 ExternalInterface vlan1 64 ${com}ExternalInterface $ext_int 51 65 52 66 # Parameter: GatewayInterface
