summaryrefslogtreecommitdiff
path: root/packaging/Debian/debian-unstable/swat.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/Debian/debian-unstable/swat.postinst')
-rw-r--r--packaging/Debian/debian-unstable/swat.postinst23
1 files changed, 23 insertions, 0 deletions
diff --git a/packaging/Debian/debian-unstable/swat.postinst b/packaging/Debian/debian-unstable/swat.postinst
new file mode 100644
index 0000000000..338f8a07c2
--- /dev/null
+++ b/packaging/Debian/debian-unstable/swat.postinst
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+#
+
+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#