diff options
author | Rod Whitby <rod@whitby.id.au> | 2004-12-26 00:47:19 +0000 |
---|---|---|
committer | Rod Whitby <rod@whitby.id.au> | 2004-12-26 00:47:19 +0000 |
commit | 60501ecd3fe71fd3821489dd749238678e2bdd98 (patch) | |
tree | faeb48696042f353e6a13eafdae4046cdaa15f69 /packages/nslu2-binary-only/unslung-rootfs-2.3r25/maintmode.cgi | |
parent | 01c0bc2e7cb8e6ddf63f513181210762335208d0 (diff) |
Merge bk://nslu2-linux@nslu2-linux.bkbits.net/openembedded
into home.(none):/home/slug/openembedded
2004/12/26 11:16:53+10:30 (none)!rwhitby
Unslung 3.15-alpha, with an improved switchbox, and confirmation dialogs for maintenance mode
BKrev: 41ce0a17xiLVTaQgH7jrrEudgkOddw
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 | 5 |
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 |