Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

kicking out not needed fs entries

  • Loading branch information...
commit bbff5527ce4abf7ec5e8522ac3af7046dda20831 1 parent 9d08a0a
Thomas Bach authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 wp_frontend/views/status.py
View
6 wp_frontend/views/status.py
@@ -19,7 +19,11 @@ def view_status(request):
if uptime.wait() == 0:
stats['uptime'] = ''.join(uptime.stdout)
if df.wait() == 0:
- stats['df'] = [ l.split(None, 5) for l in df.stdout ]
+ stats['df'] = [ l.split(None, 5) for l in df.stdout
+ if (('Filesystem' in l)
+ or ('ubi0:rootfs' in l)
+ or ('/dev/mmcblk0p1' in l)
+ or ('/dev/mmcblk0p2' in l)) ]
return stats
@view_config(route_name="view_backup", permission='user',
Please sign in to comment.
Something went wrong with that request. Please try again.