PERSIST=yes
DEFROUTE=yes
USEPEERDNS=yes
-USER=XXX@neostrada.pl
+PAPNAME=XXX@neostrada.pl
+# put password in /etc/ppp/pap-secrets or install
+# ppp-plugin-ifcfg-password and uncommend following lines
+# PLUGIN_IFCFG_PASSWORD=yes
+# PASSWORD=YYYY
+
opts="$opts noauth"
fi
if is_yes "$PLUGIN_IFCFG_PASSWORD" && [ -n "$PASSWORD" ]; then
- opts="$opts plugin ifcfg-password.so ifcfg /etc/sysconfig/interfaces/$CONFIG"
+ if [ -f "$CONFIG" ]; then
+ ifcfg_password_config="$CONFIG"
+ else
+ ifcfg_password_config="/etc/sysconfig/interfaces/$CONFIG"
+ fi
+ opts="$opts plugin ifcfg-password.so ifcfg $ifcfg_password_config"
fi
if ! is_no "${UNIT}"; then