summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEshenko Dmitriy <dmitriy.eshenko@vyos.io>2019-12-29 23:29:34 +0300
committerGitHub <noreply@github.com>2019-12-29 23:29:34 +0300
commit31dfa434cb076b0d0b3ed4db4f7ea5ffc5c86ee4 (patch)
treeeac1cedd305340db3da7c821faee400f6251a780
parentdd5285d27041d9c6b64dd8355cc2bc86386e0828 (diff)
downloadvyos-nhrp-31dfa434cb076b0d0b3ed4db4f7ea5ffc5c86ee4.tar.gz
vyos-nhrp-31dfa434cb076b0d0b3ed4db4f7ea5ffc5c86ee4.zip
dmvpn: T1784: Fix issue with opennhrp.init
"* debian/extra/init-functions.d/40-systemd: Rename _SYSTEMCTL_SKIP_REDIRECT. Rename _SYSTEMCTL_SKIP_REDIRECT to SYSTEMCTL_SKIP_REDIRECT to be more consistent with other environment variables which are used internally by systemd, like SYSTEMCTL_SKIP_SYSV."
-rwxr-xr-xetc/init.d/opennhrp.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/init.d/opennhrp.init b/etc/init.d/opennhrp.init
index 8488516..445feb8 100755
--- a/etc/init.d/opennhrp.init
+++ b/etc/init.d/opennhrp.init
@@ -32,7 +32,7 @@ DAEMON_ARGS=" -d -a $CTRLPIPE -c $CONFFILE -s $SCRIPTFILE -p $PIDFILE"
[ -x "$DAEMON" ] || exit 0
# Exclude from systemd
-_SYSTEMCTL_SKIP_REDIRECT=yes
+SYSTEMCTL_SKIP_REDIRECT=yes
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME