/[baselayout]/branches/rc-scripts-1_6/net-scripts/net.modules.d/essidnet
Gentoo

Diff of /branches/rc-scripts-1_6/net-scripts/net.modules.d/essidnet

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 798 Revision 799
97 for x in ${nameservers[@]}; do 97 for x in ${nameservers[@]}; do
98 echo "nameserver ${x}" >> /etc/resolv.conf 98 echo "nameserver ${x}" >> /etc/resolv.conf
99 done 99 done
100 100
101 eval x=\"\$\{mac_searchdomains_${mac}\}\" 101 eval x=\"\$\{mac_searchdomains_${mac}\}\"
102 [[ -z ${x} ]] && eval x=\"\$\{searchdomains_${mac}\}\" 102 [[ -z ${x} ]] && eval x=\"\$\{searchdomains_${essid}\}\"
103 [[ -n ${x} ]] && echo "search ${x}" >> /etc/resolv.conf 103 [[ -n ${x} ]] && echo "search ${x}" >> /etc/resolv.conf
104 fi 104 fi
105 105
106 # Backwards compat for old gateway var 106 # Backwards compat for old gateway var
107 eval x=\"\$\{gateway_${essid}\}\" 107 eval x=\"\$\{gateway_${essid}\}\"

Legend:
Removed from v.798  
changed lines
  Added in v.799

  ViewVC Help
Powered by ViewVC 1.1.20