summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-10-28 16:58:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-10-28 16:58:05 +0000
commit28b5b2b6378ef683b1aa5d6e033d7fae2b184df5 (patch)
treea4a94944230ea1d6cf1ddc7bf03916e0514f42c1 /applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
parent6a48025d6816ba34b473c93c938d47015d88d613 (diff)
applications/luci-splash: make it work with uhttpd
Diffstat (limited to 'applications/luci-splash/htdocs/cgi-bin/splash/splash.sh')
-rwxr-xr-xapplications/luci-splash/htdocs/cgi-bin/splash/splash.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
new file mode 100755
index 0000000000..c9d614bf10
--- /dev/null
+++ b/applications/luci-splash/htdocs/cgi-bin/splash/splash.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo -en "Status: 302 Moved\r\n"
+echo -en "Location: http://$SERVER_ADDR/cgi-bin/luci/splash\r\n\r\n"