mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
openSUSE 12.1 automatically transforms commands like
"/etc/init.d/scst start" into a systemd start command. Since that doesn't work for the SCST init script, disable systemd wrapping. See also bug #738281 "Upgrading from openSUSE 11.4 to openSUSE 12.1 breaks third-party LSB-compliant System V style init scripts" in the Novell bugzilla database (https://bugzilla.novell.com/show_bug.cgi?id=738281). Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4023 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -53,6 +53,7 @@ cat <<"EOF"
|
||||
|
||||
if [ -e /lib/lsb/init-functions ]; then
|
||||
# Debian, RHEL, Fedora, SLES and openSUSE.
|
||||
SYSTEMD_NO_WRAP="true"
|
||||
. /lib/lsb/init-functions
|
||||
else
|
||||
# Slackware (Gentoo has these functions).
|
||||
|
||||
Reference in New Issue
Block a user