summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian/swat.postinst
blob: b2a90b665025b6b4501ca2e1b8e689cbcc81b778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
#
# $Id: swat.postinst,v 1.2.4.1 2003/06/01 04:30:10 peloy Exp $
#

PATH=/sbin:/bin:/usr/sbin:/usr/bin

case "$1" in
	configure)
		;;
	abort-upgrade|abort-remove|abort-deconfigure)
		exit 0
		;;
	*)
		echo "$0: Unknown action \"$1\""
		exit 0
		;;
esac

# Set up swat, turned off by default.
update-inetd --group OTHER --add \
 '#<off># swat\t\tstream\ttcp\tnowait.400\troot\t/usr/sbin/tcpd\t/usr/sbin/swat'

#DEBHELPER#