summaryrefslogtreecommitdiff
path: root/packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi
diff options
context:
space:
mode:
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.cgi5
1 files changed, 2 insertions, 3 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
index ca1c037160..157f6c1b82 100644
--- a/packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi
+++ b/packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi
@@ -5,9 +5,8 @@ echo "Content-type: text/html
<HTML> <HEAD> <TITLE>TOGGLING MAINTENANCE MODE</TITLE> </HEAD> <BODY> <H1>"
if [ -f /$FLAG ] ; then
echo "REBOOTING IN NORMAL MODE"
- mkdir /mnt/maint
- mount -t jffs2 /dev/mtdblock4 /mnt/maint
- rm /mnt/maint/$FLAG
+ mount -t jffs2 /dev/mtdblock4 /mnt/repair
+ rm /mnt/repair/$FLAG
else
echo "REBOOTING IN MAINTENANCE MODE"
touch /$FLAG