Bugzilla – Attachment 580165 Details for
Bug 846361
pppd does not reconnect (option persist)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
ifup: do not redirect to systemd for ppp
0001-ifup-do-not-redirect-to-systemd-for-ppp-bnc-846361.patch (text/plain), 1.29 KB, created by
Marius Tomaschewski
on 2014-02-26 17:14:22 UTC
(
hide
)
Description:
ifup: do not redirect to systemd for ppp
Filename:
MIME Type:
Creator:
Marius Tomaschewski
Created:
2014-02-26 17:14:22 UTC
Size:
1.29 KB
patch
obsolete
>From c9787a14fc9b7eef07968f7690e95cb682098553 Mon Sep 17 00:00:00 2001 >From: Marius Tomaschewski <mt@suse.com> >Date: Wed, 26 Feb 2014 18:13:02 +0100 >Subject: [PATCH] ifup: do not redirect to systemd for ppp (bnc#846361) > >--- > scripts/ifup | 13 +++++++++++-- > 1 file changed, 11 insertions(+), 2 deletions(-) > >diff --git a/scripts/ifup b/scripts/ifup >index b3dad11..318741f 100755 >--- a/scripts/ifup >+++ b/scripts/ifup >@@ -297,6 +297,15 @@ esac > ###################################################################### > # Check how to handle arguments and redirect to systemd when needed > # >+SYSTEMD_REDIRECT=yes >+case $INTERFACETYPE in >+ lo|ppp|isdn) >+ SYSTEMD_REDIRECT=no >+ ;; >+esac >+if test "$PPID" -eq 1 -o "$DHCP" = "yes" -o "$CONTROL_IFPLUGD" = "yes" ; then >+ SYSTEMD_REDIRECT=no >+fi > case $SCRIPTNAME in > ifup) > case "$STARTMODE" in >@@ -308,12 +317,12 @@ ifup) > ;; > esac > >- if test $PPID -ne 1 -a "$INTERFACE" != "lo" -a "$DHCP" != yes -a "$CONTROL_IFPLUGD" != no ; then >+ if test "$SYSTEMD_REDIRECT" = "yes" ; then > exec systemctl start "network@${INTERFACE}.service" > fi > ;; > ifdown) >- if test $PPID -ne 1 -a "$INTERFACE" != "lo" -a "$DHCP" != yes -a "$CONTROL_IFPLUGD" != no ; then >+ if test "$SYSTEMD_REDIRECT" = "yes" ; then > exec systemctl stop "network@${INTERFACE}.service" > fi > >-- >1.8.4.5 >
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 846361
:
574675
|
580165
|
580172