summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Burkholder <ray@oneunified.net>2017-05-24 19:56:30 +0000
committerGurucharan Shetty <guru@ovn.org>2017-05-30 09:24:38 -0700
commitc1384b0c177377f3d0eeb4353b54b96ef57e7d48 (patch)
treecaff37d5125c78fafeb02439d61598a475d39043
parenta0ca1ed039f6a10d162e5812977a225cad9f5617 (diff)
downloadopenvswitch-c1384b0c177377f3d0eeb4353b54b96ef57e7d48.tar.gz
debian: Add SYSTEMCTL_SKIP_REDIRECT to init files
Current versions of systemd in Debian Stretch use SYSTEMCTL_SKIP_REDIRECT instead of _SYSTEMCTL_SKIP_REDIRECT. Provide both variables in the .init files. Signed-off-by: Raymond Burkholder <ray@oneunified.net> Suggested-by: Guru Shetty <guru@ovn.org> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
-rwxr-xr-xdebian/openvswitch-switch.init1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init
index aece7802c..93ce0ba71 100755
--- a/debian/openvswitch-switch.init
+++ b/debian/openvswitch-switch.init
@@ -28,6 +28,7 @@
(test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || exit 0
_SYSTEMCTL_SKIP_REDIRECT=yes
+SYSTEMCTL_SKIP_REDIRECT=yes
. /usr/share/openvswitch/scripts/ovs-lib
test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch