summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2005-06-05 13:11:07 +0000
committerRod Whitby <rod@whitby.id.au>2005-06-05 13:11:07 +0000
commit5cf10fc629fbc01240b1d2defee82cb29541af7c (patch)
tree3bd884997061825603a1604fcf68f17eb5294fcd /packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi
parenta67ec03cb23d2759434144d74d38195c129aea02 (diff)
Unslung 5.1-alpha: Updated to V2.3R29 binaries, but haven't updated the kernel yet
BKrev: 42a2f9ebNZN4kvjMo4RAQcSuCyEGew
Diffstat (limited to 'packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi')
-rw-r--r--packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi19
1 files changed, 0 insertions, 19 deletions
diff --git a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi
deleted file mode 100644
index 157f6c1b82..0000000000
--- a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-FLAG=.ramdisk
-echo "Content-type: text/html
-
-<HTML> <HEAD> <TITLE>TOGGLING MAINTENANCE MODE</TITLE> </HEAD> <BODY> <H1>"
-if [ -f /$FLAG ] ; then
- echo "REBOOTING IN NORMAL MODE"
- mount -t jffs2 /dev/mtdblock4 /mnt/repair
- rm /mnt/repair/$FLAG
-else
- echo "REBOOTING IN MAINTENANCE MODE"
- touch /$FLAG
-fi
-echo " </H1> </BODY> </HTML>"
-echo
-
-sleep 2
-
-/usr/sbin/DO_Reboot