summaryrefslogtreecommitdiffstats
path: root/abs/core/xymon/xymon-client.install
blob: 312be911dfe5baf73b1cf4e89f49adbd48da81df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
	. /etc/systemconfig
	sed -i -e "s/127.0.0.1/$dbhost/" /home/xymon/client/etc/xymonclient.cfg
	chown -R nobody /home/xymon
    #added so py bindings work with /home/mythtv/.mythtv/config.xml
    setfacl -m "u:nobody:--x" /home/mythtv/
}

post_upgrade() {
  post_install $1
}

post_remove() {
	/bin/true
}

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