File: postrm

package info (click to toggle)
pppconfig 2.0.14
  • links: PTS
  • area: main
  • in suites: woody
  • size: 160 kB
  • ctags: 77
  • sloc: perl: 1,517; sh: 82; makefile: 43
file content (19 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

# Postrm for pppconfig by John Hasler Wed June 30 1999.
# You may treat this program as if it was in the public domain.

set -e
# postrm for pppconfig John Hasler Sun Jun 27 16:41:54 CDT 1999
if [ "$1" = "purge" ] ; then
        rm -rf /var/lib/pppconfig
	rm -rf /etc/ppp/resolv
	rm -rf /etc/ppp/ip-up.d/0dns-up
	rm -rf /etc/ppp/ip-down.d/0dns-down
        rm -rf /etc/init.d/dns-clean
        update-rc.d dns-clean remove > /dev/null
fi
if [ -x /usr/bin/update-menus ] ; then
        /usr/bin/update-menus
fi
exit 0