This file is indexed.

prerm is in xymon 4.3.28-3build1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
#! /bin/sh
# prerm script for xymon

set -e

# Workaround for http://bugs.debian.org/560317 in case debconf is too old like on Squeeze
export DPKG_MAINTSCRIPT_PACKAGE=${DPKG_MAINTSCRIPT_PACKAGE:-xymon}
export DPKG_MAINTSCRIPT_NAME=${DPKG_MAINTSCRIPT_NAME:-prerm}

# Automatically added by dh_installinit/11.1.4ubuntu1
if [ -x "/etc/init.d/xymon" ] && [ "$1" = remove ]; then
	invoke-rc.d xymon stop || exit 1
fi
# End automatically added section
# Automatically added by dh_installdeb/11.1.4ubuntu1
dpkg-maintscript-helper mv_conffile /etc/apache2/conf.d/hobbit /etc/apache2/conf-available/xymon.conf 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/init.d/hobbit /etc/init.d/xymon 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/client-local.cfg /etc/xymon/client-local.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/columndoc.csv /etc/xymon/columndoc.csv 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbitserver.cfg /etc/xymon/xymonserver.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/acknowledge_header /etc/xymon/web/acknowledge_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/acknowledge_form /etc/xymon/web/acknowledge_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/columndoc_header /etc/xymon/web/columndoc_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/confreport_back /etc/xymon/web/confreport_back 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/confreport_footer /etc/xymon/web/confreport_footer 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/confreport_front /etc/xymon/web/confreport_front 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/confreport_header /etc/xymon/web/confreport_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/event_form /etc/xymon/web/event_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/event_header /etc/xymon/web/event_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/findhost_form /etc/xymon/web/findhost_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/findhost_header /etc/xymon/web/findhost_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/ghosts_header /etc/xymon/web/ghosts_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/graphs_header /etc/xymon/web/graphs_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hist_header /etc/xymon/web/hist_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/histlog_header /etc/xymon/web/histlog_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hostgraphs_form /etc/xymon/web/hostgraphs_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hostgraphs_header /etc/xymon/web/hostgraphs_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hostlist_form /etc/xymon/web/hostlist_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hostlist_header /etc/xymon/web/hostlist_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hostsvc_header /etc/xymon/web/hostsvc_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/info_header /etc/xymon/web/info_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/maint_form /etc/xymon/web/maint_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/maint_header /etc/xymon/web/maint_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/maintact_header /etc/xymon/web/maintact_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/notify_form /etc/xymon/web/notify_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/notify_footer /etc/xymon/web/notify_footer 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/notify_header /etc/xymon/web/notify_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/perfdata_form /etc/xymon/web/perfdata_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/perfdata_header /etc/xymon/web/perfdata_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/replog_header /etc/xymon/web/replog_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/report_form /etc/xymon/web/report_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/report_form_daily /etc/xymon/web/report_form_daily 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/report_form_monthly /etc/xymon/web/report_form_monthly 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/report_form_weekly /etc/xymon/web/report_form_weekly 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/report_header /etc/xymon/web/report_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/snapshot_form /etc/xymon/web/snapshot_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/snapshot_header /etc/xymon/web/snapshot_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/topchanges_form /etc/xymon/web/topchanges_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/topchanges_header /etc/xymon/web/topchanges_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/trends_form /etc/xymon/web/trends_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/useradm_form /etc/xymon/web/useradm_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/useradm_header /etc/xymon/web/useradm_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/zoom.js /etc/xymon/web/zoom.js 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbit-alerts.cfg /etc/xymon/alerts.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbit-nkview.cfg /etc/xymon/critical.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbit-nkview.cfg.bak /etc/xymon/critical.cfg.bak 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbitcgi.cfg /etc/xymon/cgioptions.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbitgraph.cfg /etc/xymon/graphs.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/bbcombotest.cfg /etc/xymon/combo.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hobbitnk_footer /etc/xymon/web/critical_footer 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/hobbitnk_header /etc/xymon/web/critical_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/menu.cfg /etc/xymon/xymonmenu.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbitlaunch.cfg /etc/xymon/tasks.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/bb-services /etc/xymon/protocols.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/hobbit-clients.cfg /etc/xymon/analysis.cfg 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bb_footer /etc/xymon/web/stdnormal_footer 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bb_header /etc/xymon/web/stdnormal_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bb2_header /etc/xymon/web/stdnongreen_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bbnk_header /etc/xymon/web/stdcritical_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bbsnap_header /etc/xymon/web/snapnormal_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bbsnap2_header /etc/xymon/web/snapnongreen_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bbsnapnk_header /etc/xymon/web/snapcritical_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/bbrep_header /etc/xymon/web/repnormal_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/nkack_form /etc/xymon/web/critack_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/nkedit_form /etc/xymon/web/critedit_form 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/hobbit/web/nkedit_header /etc/xymon/web/critedit_header 4.3.7-1\~\~ xymon -- "$@"
dpkg-maintscript-helper mv_conffile /etc/apache2/conf.d/xymon /etc/apache2/conf-available/xymon.conf 4.3.17-2\~\~ xymon -- "$@"
# End automatically added section
# Automatically added by dh_apache2/UNDECLARED
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
	if true; then
		if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
			. /usr/share/apache2/apache2-maintscript-helper

			for conf in xymon  ; do
				apache2_invoke disconf $conf  || exit 1
			done
		fi
	fi
fi
# End automatically added section


exit 0