aboutsummaryrefslogblamecommitdiff
path: root/sysutils/minimunin/pkg-deinstall
blob: 034003c164f1c43fd2be50480aae85c026e4c673 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                            
#!/bin/sh

if [ "$2" = "DEINSTALL" ]; then
	echo "updating /etc/services"
	cp /etc/services /tmp/services
	grep -v '^munin           4949/tcp   #munin node$' \
	/tmp/services > /etc/services
	rm /tmp/services
fi