Lines 110-117
Link Here
|
110 |
opts="linkname ${iface} ${opts}" |
110 |
opts="linkname ${iface} ${opts}" |
111 |
|
111 |
|
112 |
# Setup auth info |
112 |
# Setup auth info |
113 |
[[ -n ${!username} ]] && opts="user '"${!username}"' ${opts}" |
113 |
if [[ " ${opts} " != *" noauth "* ]] ; then |
114 |
opts="remotename ${iface} ${opts}" |
114 |
[[ -n ${!username} ]] && opts="user '"${!username}"' ${opts}" |
|
|
115 |
opts="remotename ${iface} ${opts}" |
116 |
fi |
115 |
|
117 |
|
116 |
# Load a custom interface configuration file if it exists |
118 |
# Load a custom interface configuration file if it exists |
117 |
[[ -f "/etc/ppp/options.${iface}" ]] \ |
119 |
[[ -f "/etc/ppp/options.${iface}" ]] \ |