From d30b4751264728e2e6c908eccb932c33ee358129 Mon Sep 17 00:00:00 2001 From: dg9vh Date: Thu, 30 Jun 2016 05:12:55 +0000 Subject: [PATCH] Added /mnt/ramdisk to disk-list --- include/disk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/disk.php b/include/disk.php index b5b2277..180f8e4 100644 --- a/include/disk.php +++ b/include/disk.php @@ -47,7 +47,7 @@ else { list($filesystem, $type, $total, $used, $free, $percent, $mount) = explode(',', $mounted); - if (strpos($type, 'tmpfs') !== false ) + if ((strpos($type, 'tmpfs') !== false) && (strpos($mount, '/mnt/ramdisk') === false)) continue;