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

« back to all changes in this revision

Viewing changes to heartbeat/lib/ResourceManager.in

  • 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:
92
92
    1)  pat=$1                  ;;
93
93
    2)  grepflags=$1; pat=$2    ;;
94
94
  esac
 
95
  if [ -f $HA_DIR/haresources ]; then
95
96
  cat $HA_DIR/haresources |
96
97
        #
97
98
        #       Explanation of Sed -e expressions below:
114
115
                -e  's%^ %%'                            |
115
116
        awk '/.*/ {$1 = tolower($1); print $0, ""}'     |
116
117
        egrep $grepflags "$pat"
 
118
        fi
117
119
}
118
120
 
119
121
ipresline() {