From 001bfd5f2b6890cafd209de4ea360927d4dd8a55 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 23 Feb 2013 15:55:49 +0100 Subject: minikrebs is now a submodule --- minikrebs | 1 + .../rickroller_advanced/overlay/www/cgi-bin/rrhelper | 15 --------------- 2 files changed, 1 insertion(+), 15 deletions(-) create mode 160000 minikrebs delete mode 100755 minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper (limited to 'minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper') diff --git a/minikrebs b/minikrebs new file mode 160000 index 00000000..8fd46a7e --- /dev/null +++ b/minikrebs @@ -0,0 +1 @@ +Subproject commit 8fd46a7e3258bff753c42dc43fecfbbc853a685c 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 -- cgit v1.2.3