Don't delete addresses for PPP interfaces, #176764.
This commit is contained in:
parent
700bdb4f1d
commit
82361c0feb
@ -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
|
||||||
|
|
||||||
|
02 May 2007; Roy Marples <uberlord@gentoo.org>:
|
||||||
|
|
||||||
|
Don't delete addresses for PPP interfaces, #176764.
|
||||||
|
|
||||||
30 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
30 Apr 2007; Roy Marples <uberlord@gentoo.org>:
|
||||||
|
|
||||||
Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554.
|
Stop using the [ -z "$@" ] test, use [ $# = 0 ] instead, #176554.
|
||||||
|
@ -560,7 +560,10 @@ stop() {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
_delete_addresses "${IFACE}"
|
# Only delete addresses for non PPP interfaces
|
||||||
|
if ! type is_ppp >/dev/null 2>/dev/null || ! is_ppp ; then
|
||||||
|
_delete_addresses "${IFACE}"
|
||||||
|
fi
|
||||||
|
|
||||||
for module in ${MODULES} ; do
|
for module in ${MODULES} ; do
|
||||||
if type "${module}_post_stop" >/dev/null 2>/dev/null ; then
|
if type "${module}_post_stop" >/dev/null 2>/dev/null ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user