tazpanel rev 638 tip

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 9f6e7841d19c
children
files boot.cgi
line diff
     1.1 --- a/boot.cgi	Tue Nov 09 10:08:06 2021 +0000
     1.2 +++ b/boot.cgi	Wed Jan 05 15:14:01 2022 +0000
     1.3 @@ -377,7 +377,7 @@
     1.4  
     1.5  	*\ iso\ *)
     1.6  		xhtml_header
     1.7 -		iso=$(POST iso); [ -s "$iso" ] || unset iso
     1.8 +		iso=$(POST iso); [ -s "$iso" -o -b "$iso" ] || unset iso
     1.9  		action=$(POST action); [ "$action" ] || action=$(GET action)
    1.10  		workdir=$(POST workdir)
    1.11  		[ -d $workdir ] || workdir=$(dirname $workdir)