View | Details | Raw Unified | Return to bug 26890
Collapse All | Expand All

(-)create-ppp~ (-1 / +10 lines)
Lines 61-66 case "$PPPTYPE" in Link Here
61
		PTYOPTION="$PPTP --nolaunchpppd $PPTP_SERVER $PPTP_EXTRA_OPTIONS"
61
		PTYOPTION="$PPTP --nolaunchpppd $PPTP_SERVER $PPTP_EXTRA_OPTIONS"
62
	;;
62
	;;
63
	pppoe)
63
	pppoe)
64
		[ -n "$HOST" ] || {
65
			print_error "WARNING: HOST is not set for interface $NAME with PPPTYPE $PPPTYPE"
66
			exit 1
67
		}
68
		PLUGINOPTION="plugin rp-pppoe.so $HOST"
69
	;;
70
	upppoe)
64
		[ -x "${PPPOE:=$DEFAULT_PPPOE}" ] || {
71
		[ -x "${PPPOE:=$DEFAULT_PPPOE}" ] || {
65
			print_error "$PPPOE does not exist or is not executable. Try installing rp-pppoe-client RPM."
72
			print_error "$PPPOE does not exist or is not executable. Try installing rp-pppoe-client RPM."
66
			exit 1
73
			exit 1
Lines 86-92 if is_yes "$RESTORE_DEFAULTROUTE"; then Link Here
86
fi
93
fi
87
94
88
# Let the show start...
95
# Let the show start...
89
$PPPD $BASIC_PPPOPTIONS $PPPOPTIONS ${PTYOPTION:+local pty "$PTYOPTION"} \
96
$PPPD $BASIC_PPPOPTIONS $PPPOPTIONS \
97
${PLUGINOPTION:+ $PLUGINOPTION} \
98
${PTYOPTION:+local pty "$PTYOPTION"} \
90
${PROF_PPPOPTIONSFILE:+ file $PROF_PPPOPTIONSFILE} \
99
${PROF_PPPOPTIONSFILE:+ file $PROF_PPPOPTIONSFILE} \
91
${PROF_PPPINITCHAT:+ init "$CHAT_CMD $PROF_PPPINITCHAT"} \
100
${PROF_PPPINITCHAT:+ init "$CHAT_CMD $PROF_PPPINITCHAT"} \
92
${PROF_PPPCONNECTCHAT:+ connect "$CHAT_CMD $PROF_PPPCONNECTCHAT"} \
101
${PROF_PPPCONNECTCHAT:+ connect "$CHAT_CMD $PROF_PPPCONNECTCHAT"} \

Return to bug 26890