summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon-client.install
blob: 301fc1f98eb02d83c3df30cf0b3ce6df6a3d9031 (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/" /data/srv/xymon/client/etc/xymonclient.cfg
	chown -R nobody /data/srv/xymon

}

post_upgrade() {
  post_install $1
}

post_remove() {
	/bin/true
}

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