diff options
| author | Jacob Appelbaum <jacob@appelbaum.net> | 2011-08-23 15:19:17 +0200 | 
|---|---|---|
| committer | Jacob Appelbaum <jacob@appelbaum.net> | 2011-08-23 15:19:17 +0200 | 
| commit | 3dd720f3d17b946481ab59ec191bf17cafec50e5 (patch) | |
| tree | 85dadc59d403a08628e8560b40d3a3e90e5811c0 | |
| parent | e851b4a60db561e32f32a1aea777670ee10d0d46 (diff) | |
| download | torouter-3dd720f3d17b946481ab59ec191bf17cafec50e5.tar.gz torouter-3dd720f3d17b946481ab59ec191bf17cafec50e5.zip | |
use $IFACE rather than uap0 per suggestion by weasel
| -rw-r--r-- | packages/torouter-prep/configs/interfaces | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/packages/torouter-prep/configs/interfaces b/packages/torouter-prep/configs/interfaces index 903bdb4..ef3071a 100644 --- a/packages/torouter-prep/configs/interfaces +++ b/packages/torouter-prep/configs/interfaces @@ -28,11 +28,11 @@ iface uap0 inet static  	netmask 255.255.255.0  	network 172.16.23.0  	broadcast 172.16.23.255 -        pre-up ifconfig uap0 hw ether 00:66:66:66:66:66 +        pre-up ifconfig $IFACE hw ether 00:66:66:66:66:66          post-up /etc/init.d/tor reload          post-up /etc/init.d/dnsmasq restart          post-up /etc/init.d/ttdnsd restart -	post-up /usr/bin/uaputl sys_cfg_ssid "torproject"  -	post-up /usr/bin/uaputl bss_start  +	post-up /usr/bin/uaputl sys_cfg_ssid "torproject" +	post-up /usr/bin/uaputl bss_start          post-up /usr/share/torouter-prep/example-configs/tor-wireless-firewall.sh          pre-down /usr/bin/uaputl bss_stop | 
