diff options
Diffstat (limited to 'init.d')
-rw-r--r-- | init.d/net.lo.in | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/init.d/net.lo.in b/init.d/net.lo.in index b194a236..822e3f58 100644 --- a/init.d/net.lo.in +++ b/init.d/net.lo.in @@ -684,7 +684,11 @@ stop() # Only delete addresses for interfaces that exist if _exists; then - _delete_addresses "${IFACE}" + # PPP can manage it's own addresses when IN_BACKGROUND + # Important in case "demand" set on the ppp link + if ! (yesno ${IN_BACKGROUND} && is_ppp) ; then + _delete_addresses "${IFACE}" + fi fi for module in ${MODULES}; do |