Merge "Use lsb functions if /lib/lsb/init-functions file exists"
This commit is contained in:
commit
1a8eed5a02
@ -45,6 +45,10 @@
|
|||||||
# If set to "0" disables using start-stop-daemon. This may need to
|
# If set to "0" disables using start-stop-daemon. This may need to
|
||||||
# be set on SuSE systems.
|
# be set on SuSE systems.
|
||||||
|
|
||||||
|
if test -f /lib/lsb/init-functions ; then
|
||||||
|
. /lib/lsb/init-functions
|
||||||
|
fi
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
me=`basename "$0"`
|
me=`basename "$0"`
|
||||||
echo >&2 "Usage: $me {start|stop|restart|check|status|run|supervise|threads} [-d site]"
|
echo >&2 "Usage: $me {start|stop|restart|check|status|run|supervise|threads} [-d site]"
|
||||||
|
Loading…
Reference in New Issue
Block a user