Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2:Update
sysconfig
sysconfig-allow-ifup-lo-in-nm-flow.bnc547620.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File sysconfig-allow-ifup-lo-in-nm-flow.bnc547620.diff of Package sysconfig
From 0e156d2daa99f4b6366b64f3447ae0f6a916b8ab Mon Sep 17 00:00:00 2001 From: Marius Tomaschewski <mt@suse.de> Date: Mon, 23 Nov 2009 09:19:55 +0100 Subject: [PATCH] Allow ifup lo, even NetworkManager is active or it breaks the lo setup via /etc/init.d/boot.localnet (bnc#547620,bnc#547928). --- scripts/ifup | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/ifup b/scripts/ifup index 34f1dfb..1b4e4e4 100755 --- a/scripts/ifup +++ b/scripts/ifup @@ -255,11 +255,11 @@ fi # Check if NetworkManager is running, inform the user and exit # if [ "$NETWORKMANAGER" = yes ] && ! netcontrol_running ; then - if [ "$SCRIPTNAME" != ifdown ] ; then + if [ "$SCRIPTNAME" != ifdown -a "$INTERFACE" != lo ] ; then mesg "Network interface is managed by the NetworkManager -> skipping" exit $R_NOTIMPL fi -elif nm_running ; then +elif nm_running && [ "$INTERFACE" != lo ] ; then mesg "Network interface is managed by the NetworkManager -> skipping" exit $R_NOTIMPL fi -- 1.6.4.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor