Bugzilla – Attachment 55189 Details for
Bug 128823
Cloning system messes network config up
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
Fixes the error messages
network.128823.diff (text/plain), 667 bytes, created by
Christian Zoz
on 2005-10-24 11:47:42 UTC
(
hide
)
Description:
Fixes the error messages
Filename:
MIME Type:
Creator:
Christian Zoz
Created:
2005-10-24 11:47:42 UTC
Size:
667 bytes
patch
obsolete
>--- sysconfig/scripts/network 2005-10-24 13:13:36.000000000 +0200 >+++ /etc/init.d/network 2005-10-24 13:32:30.000000000 +0200 >@@ -421,7 +421,7 @@ > continue > fi > IFACE=`/sbin/getcfg-interface -- $D 2>/dev/null` >- if [ $? != 0 ] ; then >+ if [ $? != 0 -o ! -d /sys/class/net/$IFACE ] ; then > MANDATORY_DEVICES="$MANDATORY_DEVICES $D" > continue > fi >@@ -486,7 +486,7 @@ > # Don't check the seperator > test "$D" = __NSC__ && continue > IFACE=`/sbin/getcfg-interface -- $D 2>/dev/null` >- if [ $? = 0 ] ; then >+ if [ $? = 0 -a -d /sys/class/net/$IFACE ] ; then > TOCHECK_IFACES="$TOCHECK_IFACES $IFACE" > continue > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 128823
: 55189