File: prerm

package info (click to toggle)
resolvconf 1.46
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 436 kB
  • ctags: 26
  • sloc: sh: 639; makefile: 33
file content (19 lines) | stat: -rwxr-xr-x 310 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
set -e

case "$1" in
  remove)
	if [ -x "/etc/init.d/resolvconf" ] ; then
		if which invoke-rc.d >/dev/null 2>&1 ; then
			invoke-rc.d resolvconf disable-updates || :
		else
			/etc/init.d/resolvconf disable-updates
		fi
	fi							
	;;
# *)
	# deconfigure, upgrade, failed-upgrade
esac

#DEBHELPER#