aboutsummaryrefslogtreecommitdiffstats
path: root/debian/nyancat-server.postinst
diff options
context:
space:
mode:
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#