jeremycollake / x-wrt

Automatically exported from code.google.com/p/x-wrt
2 stars 0 forks source link

USB mounted drives displayed incorrectly in status-basic.sh #111

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mount a USB drive (or any device with a long enough name)
2. Visit http://router/cgi-bin/webif/status-basic.sh

What is the expected output? What do you see instead?
The progress bar for the USB mount is mangled due to "df" output having an
extra line inserted in it due to the length of the USB device's name.

What version of the product are you using? On what operating system and web
browser?
Latest build as of 01/08/2009

Please provide any additional info below.
I have attached a fixed status-basic.sh that has the relevant changes,
which begin on line 62.

Original issue reported on code.google.com by grmod...@gmail.com on 8 Jan 2009 at 9:53

Attachments:

GoogleCodeExporter commented 9 years ago
Ooops, I accidentally left a few lines modified from when I was implementing an 
auto
AJAX refresher for the status page instead of the current hard refresh. I can 
submit
that entire thing too if any developer would like, IMO it's much better than 
the way
it is now. It requires the modified status-basic.sh above, another script that
generates the updated information, and a .js file that applies it to the 
current page
without refreshing.

Original comment by grmod...@gmail.com on 8 Jan 2009 at 10:01

GoogleCodeExporter commented 9 years ago
You can submit the refresh in another ticket, I have committed the fix from your
status-basic.sh for the usb display in r4636.. Thanks.

Original comment by kemen04@gmail.com on 8 Jan 2009 at 5:51