File: postrm

package info (click to toggle)
ipmasq 3.4.4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 300 kB
  • ctags: 3
  • sloc: sh: 281; makefile: 48
file content (15 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash -e
if [ "$1" = "purge" ] ; then
	update-rc.d ipmasq remove >/dev/null
	update-rc.d ipmasq-kmod remove >/dev/null
	
	if [ -e /etc/ipmasq.rules ]; then
		rm -f /etc/ipmasq.rules
	fi
	if [ -e /etc/ipmasq/ppp ]; then
		rm -f /etc/ipmasq/ppp
	fi
fi

#DEBHELPER#