~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to contrib/debian/init.d

  • Committer: John Ferlito
  • Date: 2009-09-02 23:55:18 UTC
  • mto: This revision was merged to the branch mainline in revision 4913.
  • Revision ID: johnf@inodes.org-20090902235518-nvgq40r9qc3qmvwy
init.d scrip for bzr --serve shouldn't run by default

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
USER=bzr
24
24
GROUP=bzr
25
25
REPO=/srv/bzr
 
26
ENABLED=0
26
27
 
27
28
# Exit if the package is not installed
28
29
[ -x "$DAEMON" ] || exit 0
33
34
# Load the VERBOSE setting and other rcS variables
34
35
[ -f /etc/default/rcS ] && . /etc/default/rcS
35
36
 
 
37
test "$ENABLED" != "0" || exit 0
 
38
 
36
39
# Define LSB log_* functions.
37
40
# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
38
41
. /lib/lsb/init-functions