Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 141404 Details for
Bug 206815
sys-power/hibernate-script auto network up and kde (xstatus) enhancement
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
network auto up and kdialog fix
hibernate-script-1.97.patch (text/plain), 1.78 KB, created by
Pete Black
on 2008-01-20 22:23:50 UTC
(
hide
)
Description:
network auto up and kdialog fix
Filename:
MIME Type:
Creator:
Pete Black
Created:
2008-01-20 22:23:50 UTC
Size:
1.78 KB
patch
obsolete
>diff -Naur scriptlets.d.old/network scriptlets.d/network >--- scriptlets.d.old/network 2008-01-20 13:26:34.000000000 -0800 >+++ scriptlets.d/network 2007-07-09 08:23:35.000000000 -0700 >@@ -29,13 +29,10 @@ > # Don't bring down lo in auto mode. > [ "$int" = "lo" ] && continue > fi >- # Only bring down interfaces that are actually up. >- if network_if_is_up $int ; then >- vecho 2 "Bringing down interface $int" >- network_ifdown $int >- [ $? -ne 0 ] && ret=1 >- NETWORK_DOWNEDIFS="$int $NETWORK_DOWNEDIFS" >- fi >+ vecho 2 "Bringing down interface $int" >+ network_ifdown $int >+ [ $? -ne 0 ] && ret=1 >+ NETWORK_DOWNEDIFS="$int $NETWORK_DOWNEDIFS" > done > return $ret > } >@@ -100,9 +97,6 @@ > network_ifdown() { > [ -x "/etc/init.d/net.$1" ] && /etc/init.d/net.$1 stop > } >- network_if_is_up() { >- [ -x "/etc/init.d/net.$1" ] && return `/etc/init.d/net.$1 --quiet status` >- } > ;; > suse) > network_ifup() { >diff -Naur scriptlets.d.old/xstatus scriptlets.d/xstatus >--- scriptlets.d.old/xstatus 2008-01-20 13:33:32.000000000 -0800 >+++ scriptlets.d/xstatus 2006-06-04 23:16:26.000000000 -0700 >@@ -15,9 +15,6 @@ > ### KDE bits: > > XStatusProgressStart_kde() { >- # Check if KDE is running. >- [ -z `pidof -s kdesktop` ] && return 1 >- > KDEPB_DCOPREF= > > # Set $PATH for distros that aren't quite standard. >@@ -36,7 +33,7 @@ > return 0 > fi > >- KDEPB_DCOPREF="`su $XUSER -c \"$KSTART_BIN --windowclass KDialog --alldesktops $KDIALOG_BIN --title Hibernating --icon kmenu --progressbar \\\"$1\\\" 100\"`" >+ KDEPB_DCOPREF="`su $XUSER -c \"$KSTART_BIN --windowclass KDialog --alldesktops $KDIALOG_BIN --title Hibernating --progressbar \\\"$1\\\" 100\"`" > su $XUSER -c "$DCOP_BIN \"$KDEPB_DCOPREF\" showCancelButton 1" > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206815
:
141404
|
141405