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

(-)etcnet-0.7.12-orig/etc/net/scripts/create-ppp (+2 lines)
Lines 44-49 BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPP Link Here
44
is_yes "$PPPPERSIST" && BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS persist"
44
is_yes "$PPPPERSIST" && BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS persist"
45
BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPPHOLDOFF:+ holdoff $PPPHOLDOFF}"
45
BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPPHOLDOFF:+ holdoff $PPPHOLDOFF}"
46
BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPPIDLE:+ idle $PPPIDLE}"
46
BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS${PPPIDLE:+ idle $PPPIDLE}"
47
[ -n "$PPPTIMEOUT" -a "$PPPTIMEOUT" -gt 3 ] && BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS lcp-echo-interval $(($PPPTIMEOUT / 3)) lcp-echo-failure 3"
47
48
48
case "$PPPTYPE" in
49
case "$PPPTYPE" in
49
	pptp)
50
	pptp)
Lines 67-72 case "$PPPTYPE" in Link Here
67
			exit 1
68
			exit 1
68
		}
69
		}
69
		PTYOPTION="$PPPOE -I $HOST -U"
70
		PTYOPTION="$PPPOE -I $HOST -U"
71
		[ -n "$PPPTIMEOUT" -a "$PPPTIMEOUT" -gt 3 ] && PTYOPTION="$PTYOPTION -T $(($PPPTIMEOUT * 4 / 3))"
70
	;;
72
	;;
71
	dialup)
73
	dialup)
72
		BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS modem"
74
		BASIC_PPPOPTIONS="$BASIC_PPPOPTIONS modem"

Return to bug 8332