/etc/init.d/scst: Make this script work on recent versions of Ubuntu Linux

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2016-07-26 17:26:17 +00:00
parent cde21c669a
commit d41a3a3cc9

View File

@@ -54,6 +54,7 @@ cat <<"EOF"
if [ -e /lib/lsb/init-functions ]; then
# Debian, RHEL, Fedora, SLES and openSUSE.
SYSTEMD_NO_WRAP="true"
_SYSTEMCTL_SKIP_REDIRECT=1
. /lib/lsb/init-functions
else
# Slackware (Gentoo has these functions).