aboutsummaryrefslogtreecommitdiffstats
path: root/debian/nyancat-server.postinst
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2012-04-19 00:57:52 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2012-04-19 00:57:52 +0100
commit86944f4755fc06e861f176f5748828d0ea48fb34 (patch)
treed7c38f03da39aae54bcd7e87acd53310899bf58d /debian/nyancat-server.postinst
parentfe4cdcdcadcc772088946d2c29263bc4dcb27555 (diff)
downloadnyancat-86944f4755fc06e861f176f5748828d0ea48fb34.tar.gz
Revert "Switch to reconf-inetd"
This reverts commit fe4cdcdcadcc772088946d2c29263bc4dcb27555. Revert pending #669317.
Diffstat (limited to 'debian/nyancat-server.postinst')
-rw-r--r--debian/nyancat-server.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/nyancat-server.postinst b/debian/nyancat-server.postinst
new file mode 100644
index 0000000..c723125
--- /dev/null
+++ b/debian/nyancat-server.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+# Set up nyancat
+update-inetd --group OTHER --add \
+ '#<off># telnet\t\tstream\ttcp\tnowait\tnobody\t/usr/bin/nyancat\tnyancat -t'
+
+#DEBHELPER#