Fix pppd metric, #193574 thanks to Martin Väth.
This commit is contained in:
parent
e0d06f556e
commit
7a2507c52f
@ -1,6 +1,10 @@
|
|||||||
# ChangeLog for Gentoo System Intialization ("rc") scripts
|
# ChangeLog for Gentoo System Intialization ("rc") scripts
|
||||||
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
|
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
|
||||||
|
|
||||||
|
24 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
||||||
|
|
||||||
|
Fix pppd metric, #193574 thanks to Martin Väth.
|
||||||
|
|
||||||
21 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
21 Sep 2007; Roy Marples <uberlord@gentoo.org>:
|
||||||
|
|
||||||
Use a pty for prefixed output instead of pipes for stdout/stderr. This
|
Use a pty for prefixed output instead of pipes for stdout/stderr. This
|
||||||
|
@ -91,7 +91,7 @@ pppd_pre_start() {
|
|||||||
if ! ${hasdefaultmetric} ; then
|
if ! ${hasdefaultmetric} ; then
|
||||||
local m=
|
local m=
|
||||||
eval m=\$metric_${IFVAR}
|
eval m=\$metric_${IFVAR}
|
||||||
[ -z "${m}" ] && m=$((${metric} + _ifindex))
|
[ -z "${m}" ] && m=$((${metric} + $(_ifindex)))
|
||||||
opts="${opts} defaultmetric ${m}"
|
opts="${opts} defaultmetric ${m}"
|
||||||
fi
|
fi
|
||||||
if [ -n "${mtu}" ] ; then
|
if [ -n "${mtu}" ] ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user