tazlito diff live.cgi @ rev 535
tazlito: fix EFI eltorito boot file size
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 07 08:41:10 2022 +0000 (2022-04-07) |
parents | 392ce00aa117 |
children |
line diff
1.1 --- a/live.cgi Fri Nov 18 16:16:17 2016 +0100 1.2 +++ b/live.cgi Thu Apr 07 08:41:10 2022 +0000 1.3 @@ -5,7 +5,7 @@ 1.4 # Copyright (C) 2011-2015 SliTaz GNU/Linux - BSD License 1.5 # 1.6 1.7 -if [ "$1" == 'call' ]; then 1.8 +if [ "$1" = 'call' ]; then 1.9 case "$2" in 1.10 merge_cleanup) 1.11 mv -f $3.merged $3 1.12 @@ -155,7 +155,7 @@ 1.13 if [ -d /proc/scsi/usb-storage ]; then 1.14 for dev in /sys/block/sd*; do 1.15 # removable writable sd* device: 1.16 - if [ "$(cat $dev/removable)" == '1' -a "$(cat $dev/ro)" == '0' ]; then 1.17 + if [ "$(cat $dev/removable)" = '1' -a "$(cat $dev/ro)" = '0' ]; then 1.18 echo "<optgroup label='$(cat $dev/device/vendor) $(cat $dev/device/model):'>" 1.19 for part in $dev/sd*; do 1.20 [ ! -d "$part" ] && break