diff options
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.cgi | 19 |
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 |