tazpanel rev 621

hardware.cgi: show boot flag (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 19 20:36:00 2017 +0100 (22 months ago)
parents c648d941e7fa
children ffb5734bba5f
files hardware.cgi
line diff
     1.1 --- a/hardware.cgi	Tue Dec 19 12:21:46 2017 +0100
     1.2 +++ b/hardware.cgi	Tue Dec 19 20:36:00 2017 +0100
     1.3 @@ -412,7 +412,7 @@
     1.4  EOT
     1.5  		df_thead
     1.6  		echo '<tbody>'
     1.7 -		bootdevs="$(fdisk -l | sed '/\*/!d;/^\/dev/!d;s/ .*//')"
     1.8 +		bootdevs="$(fdisk -l | sed '/\*/!d;/^\/dev/!d;s/ .*//' | xargs)"
     1.9  		for fs in $(blkid | sort | sed 's/:.*//'); do
    1.10  			set -- $(df -h | grep "^$fs ")
    1.11  			size=$2