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