From 0fe4e4696e1d0c9d70d26a243f865f36591ae5fd Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Sun, 31 May 2015 01:13:30 +0200 Subject: applications/splash: remove set -x from splash.sh --- applications/luci-app-splash/htdocs/cgi-bin/splash/splash.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'applications/luci-app-splash/htdocs/cgi-bin/splash/splash.sh') diff --git a/applications/luci-app-splash/htdocs/cgi-bin/splash/splash.sh b/applications/luci-app-splash/htdocs/cgi-bin/splash/splash.sh index 76f6d4d3e4..da8370dafa 100755 --- a/applications/luci-app-splash/htdocs/cgi-bin/splash/splash.sh +++ b/applications/luci-app-splash/htdocs/cgi-bin/splash/splash.sh @@ -1,13 +1,11 @@ #!/bin/sh $(uci -q get luci_splash.general.redirect_url) || { - set -x touch /var/state/luci_splash_locations touch /etc/config/luci_splash_locations MAC=$(grep "$REMOTE_HOST" /proc/net/arp | awk '{print $4}') uci -P /var/state set luci_splash_locations.${MAC//:/}=redirect uci -P /var/state set luci_splash_locations.${MAC//:/}.location="http://${HTTP_HOST}${REQUEST_URI}" - set +x } echo -en "Cache-Control: no-cache, max-age=0, no-store, must-revalidate\r\n" -- cgit v1.2.3