~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to debian/heartbeat.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2009-08-10 19:29:25 UTC
  • mfrom: (5.2.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20090810192925-9zy2llcbgavbskf7
Tags: 2.99.2+sles11r9-5ubuntu1
* New upstream snapshot
* Adjusted heartbeat.install and rules for documentation path

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
                        --disabled-password hacluster > /dev/null
33
33
        fi
34
34
 
35
 
        #
36
 
        #fifo (0600, root, root)
37
 
        #
38
 
        rm -f /var/lib/heartbeat/fifo
39
 
        mknod -m 0600 /var/lib/heartbeat/fifo p
40
 
 
41
35
        for i in /var/lib/heartbeat/ccm /var/lib/heartbeat/crm \
42
36
                        /var/run/heartbeat/ccm /var/run/heartbeat/crm \
43
37
                        /var/lib/heartbeat/pengine; do
 
38
                mkdir -p $i
44
39
                chmod 750 $i
45
40
                chown hacluster $i
46
41
                chgrp haclient $i
63
58
            . /usr/share/debconf/confmodule
64
59
            db_get heartbeat/change_init || RET="false"
65
60
            if [ "$RET" = "true" ]; then
66
 
              /usr/sbin/update-rc.d -f heartbeat remove > /dev/null
 
61
              update-rc.d -f heartbeat remove > /dev/null
67
62
            fi
68
63
            db_stop
69
64
          fi