/[baselayout]/trunk/net.Linux/pppd.sh
Gentoo

Diff of /trunk/net.Linux/pppd.sh

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

Revision 2631 Revision 2670
112 local chatopts="/usr/sbin/chat -e -E -v" 112 local chatopts="/usr/sbin/chat -e -E -v"
113 eval $(_get_array "phone_number_${IFVAR}") 113 eval $(_get_array "phone_number_${IFVAR}")
114 [ -n "$1" ] && chatopts="${chatopts} -T '$1'" 114 [ -n "$1" ] && chatopts="${chatopts} -T '$1'"
115 [ -n "$2" ] && chatopts="${chatopts} -U '$2'" 115 [ -n "$2" ] && chatopts="${chatopts} -U '$2'"
116 eval $(_get_array "chat_${IFVAR}") 116 eval $(_get_array "chat_${IFVAR}")
117 if [ -n "$@" ] ; then 117 if [ $# != 0 ] ; then
118 opts="${opts} connect $(printf "'%s' " "${chatopts} $(printf "'%s' " "$@")")" 118 opts="${opts} connect $(printf "'%s' " "${chatopts} $(printf "'%s' " "$@")")"
119 fi 119 fi
120 120
121 # Add plugins 121 # Add plugins
122 local haspppoa=false haspppoe=false 122 local haspppoa=false haspppoe=false

Legend:
Removed from v.2631  
changed lines
  Added in v.2670

  ViewVC Help
Powered by ViewVC 1.1.20