Changeset 51
- Timestamp:
- 09/02/07 20:21:26 (1 year ago)
- Files:
-
- trunk/imagebuilder/files/sbin/ifup.3g (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/imagebuilder/files/sbin/ifup.3g
r50 r51 74 74 apn="'AT'" 75 75 [ -n = "$wwan_apn" ] && apn="'AT+CGDCONT=1,\"IP\",\"$(nvram get wwan_apn)\"'" 76 opendns=`cat /etc/config/webif | grep opendns | awk -F '"' '{ print $2 }'`76 opendns=`cat /etc/config/webif | grep opendns | grep 1 | wc -l` 77 77 if [ "$opendns" = "0" ]; then 78 78 dns="usepeerdns"