- Timestamp:
- 12/05/10 23:45:19 (18 months ago)
- Location:
- branches/nightwing-wa/nightwing/etc
- Files:
-
- 2 modified
-
config/nodogsplash (modified) (2 diffs)
-
init.d/nodogsplash (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/nightwing-wa/nightwing/etc/config/nodogsplash
r514 r579 6 6 # redirect_url: where the redirection will led to 7 7 # 8 # active: 1 to activate pass without authentication, 0 to deactivate it 9 # macs_list: comma separated MAC addresses that will not need to authenticate. Take into account MAC spoofing when using this :) 10 # 8 11 9 12 config interface general … … 12 15 option redirect_url 13 16 17 config interface trustedmaclist 18 option active 0 19 option macs_list 00:00:00:00:00:00 -
branches/nightwing-wa/nightwing/etc/init.d/nodogsplash
r514 r579 17 17 if [ $REDIRECT_URL ]; then 18 18 REDIRECT="RedirectURL $REDIRECT_URL" 19 fi 20 21 if [ $(uci get nodogsplash.trustedmaclist.active) -eq 1 ]; then 22 TML=$(echo "TrustedMacList ")$(uci get nodogsplash.trustedmaclist.lista_macs) 19 23 fi 20 24 … … 59 63 GatewayName $GATEWAY_NAME 60 64 $REDIRECT 65 $TML 61 66 EOF 62 67