summaryrefslogtreecommitdiff
path: root/etc/init.d/opennhrp.init
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2016-02-10 05:13:26 -0500
committerKim Hagen <kim.sidney@gmail.com>2016-02-10 05:13:26 -0500
commit6c968c689b7c22919ef4200f4597ba28237e868d (patch)
treed0cdab51e17e91506f14b64f2a08c7b4a7b3a6a1 /etc/init.d/opennhrp.init
parentccb1b2ec5c2f4fa0a7ed7d148eeaa8a8451c32ad (diff)
downloadvyos-nhrp-lithium.tar.gz
vyos-nhrp-lithium.zip
Ignore systemctl when starting opennhrp.init.lithium
Diffstat (limited to 'etc/init.d/opennhrp.init')
-rwxr-xr-xetc/init.d/opennhrp.init3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/init.d/opennhrp.init b/etc/init.d/opennhrp.init
index 961422b..8488516 100755
--- a/etc/init.d/opennhrp.init
+++ b/etc/init.d/opennhrp.init
@@ -31,6 +31,9 @@ DAEMON_ARGS=" -d -a $CTRLPIPE -c $CONFFILE -s $SCRIPTFILE -p $PIDFILE"
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
+# Exclude from systemd
+_SYSTEMCTL_SKIP_REDIRECT=yes
+
# Read configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME