diff options
author | Manuel Munz <munz@comuno.net> | 2015-05-31 01:13:30 +0200 |
---|---|---|
committer | Manuel Munz <munz@comuno.net> | 2015-05-31 01:13:30 +0200 |
commit | 0fe4e4696e1d0c9d70d26a243f865f36591ae5fd (patch) | |
tree | 5c42d62884b0be578bbf7a2a00c0fbc535d30d6c /applications/luci-app-splash | |
parent | 5ef1485133ad0776cdfe028bc233641553e074f1 (diff) |
applications/splash: remove set -x from splash.sh
Diffstat (limited to 'applications/luci-app-splash')
-rwxr-xr-x | applications/luci-app-splash/htdocs/cgi-bin/splash/splash.sh | 2 |
1 files changed, 0 insertions, 2 deletions
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 76f6d4d3e..da8370daf 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" |