tazpanel diff hardware.cgi @ rev 638
boot.iso: allow /dev/cdrom
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 05 15:14:01 2022 +0000 (2022-01-05) |
parents | 6cd2b37d9afc |
children |
line diff
1.1 --- a/hardware.cgi Mon Jul 08 11:54:48 2019 +0200 1.2 +++ b/hardware.cgi Wed Jan 05 15:14:01 2022 +0000 1.3 @@ -434,7 +434,7 @@ 1.4 # action 1.5 action="mount" 1.6 [ -n "$mp" ] && action="umount" 1.7 - type=$(blkid $fs | sed '/ TYPE=/!d;s/.* TYPE="\([^"]*\).*/\1/') 1.8 + type=$(busybox blkid $fs | sed '/ TYPE=/!d;s/.* TYPE="\([^"]*\).*/\1/') 1.9 [ -n "$type" ] || continue 1.10 [ "$type" = "swap" ] && action="swapon" 1.11 if grep -q "^$fs " /proc/swaps; then 1.12 @@ -472,7 +472,7 @@ 1.13 <tr> 1.14 <td>$radio<!-- 1.15 --><label for="${fs##*/}" data-icon="$disktype"> $dsk</label></td> 1.16 - <td>$(blkid $fs | sed '/LABEL=/!d;s/.*LABEL="\([^"]*\).*/\1/')</td> 1.17 + <td>$(busybox blkid $fs | sed '/LABEL=/!d;s/.*LABEL="\([^"]*\).*/\1/')</td> 1.18 <td>$type</td> 1.19 <td>$size</td> 1.20 <td>$av</td> 1.21 @@ -491,7 +491,7 @@ 1.22 fi 1.23 cat <<EOT 1.24 <td>$mp</td> 1.25 - <td>$(blkid $fs | sed '/UUID=/!d;s/.*UUID="\([^"]*\).*/\1/')</td> 1.26 + <td>$(busybox blkid $fs | sed '/UUID=/!d;s/.*UUID="\([^"]*\).*/\1/')</td> 1.27 </tr> 1.28 EOT 1.29 done