summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon-client.install
blob: 80210f1299e811c513bac3f06c690a2454fab373 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
	. /etc/systemconfig
	sed -i -e "s/127.0.0.1/$dbhost/" /home/xymon/client/etc/xymonclient.cfg
	chown -R nobody /home/xymon

}

post_upgrade() {
  post_install $1
}

post_remove() {
	/bin/true
}

pre_remove() {
	/bin/true
}
op=$1
shift
$op $*
# vim: ft=sh ts=2