diff options
Diffstat (limited to 'minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper')
m--------- | minikrebs | 0 | ||||
-rwxr-xr-x | minikrebs/profiles/rickroller_advanced/overlay/www/cgi-bin/rrhelper | 15 |
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 |