root/alternc-slavedns/tags/nightly_sarge/debian/postrm

Revision 1299, 488 bytes (checked in by anonymous, 5 years ago)

- ajout du param�tre MASTERIP
- ajout du postrm qui d�sinstalle de named.conf

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
Line 
1 #!/bin/sh -e
2
3 # Benjamin Sonntag <benjamin@alternc.org>
4
5 case "$1" in
6 remove)
7     ;;
8
9 upgrade)
10     ;;
11
12 purge)
13     # Remove the config file from named.conf
14     cat /etc/bind/named.conf | grep -v "include \"/etc/bind/slavedns.conf\";" >/etc/bind/named.conf.purging
15     mv -f /etc/bind/named.conf.purging /etc/bind/named.conf
16     ;;
17
18 failed-upgrade|abort-install|abort-upgrade|disappear)
19     ;;
20
21 *)
22     echo "postrm called with unknown argument '$1'" >&2
23     exit 1
24     ;;
25 esac
26
27 #DEBHELPER#
28
Note: See TracBrowser for help on using the browser.