summaryrefslogtreecommitdiffstats
path: root/minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-02-23 15:55:49 +0100
committermakefu <github@syntax-fehler.de>2013-02-23 15:55:49 +0100
commit001bfd5f2b6890cafd209de4ea360927d4dd8a55 (patch)
treeff5805c808afc2fbe460f767f65ae1152fb32776 /minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper
parent1ca9360f5a35d0c2ee5876bba85f2ead44e5a540 (diff)
minikrebs is now a submodule
Diffstat (limited to 'minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper')
m---------minikrebs0
-rwxr-xr-xminikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper15
2 files changed, 0 insertions, 15 deletions
diff --git a/minikrebs b/minikrebs
new file mode 160000
+Subproject 8fd46a7e3258bff753c42dc43fecfbbc853a685
diff --git a/minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper b/minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper
deleted file mode 100755
index ec328a3b..00000000
--- a/minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-RRLOG="/tmp/rrlog"
-
-if [ -n "$RRLOG" ]; then
- echo `awk '{print $1}' /proc/uptime` $REMOTE_ADDR:$REMOTE_PORT \'$HTTP_REFERER\' \'$HTTP_USER_AGENT\' >>"$RRLOG"
-fi
-
-# To signal a rickroll, blink for 15 seconds
-(echo timer > /sys/devices/platform/leds-gpio/leds/tp-link:blue:system/trigger ;sleep 15;echo none > /sys/devices/platform/leds-gpio/leds/tp-link:blue:system/trigger) &
-
-
-echo "Content-type: image/gif"
-echo ""
-cat /www/1x1.gif