SliTaz $i.0";
- if (file_exists("index-loram-".$i.".0.html"))
- echo " · loram";
+ foreach (array("loram","web","mini") as $flavor)
+ if (file_exists("index-".$flavor."-".$i.".0.html"))
+ echo " · ".$flavor."";
echo "
\n";
}
?>
@@ -155,24 +160,24 @@
+EOT
+ if [ -z "$1" ]; then
+ echo "Built on $mtime" > title
+ else
+ echo "Built on $mtime, needs up to ${1}b of RAM" > title
+ n=0; x=1; while [ -n "$x" ]; do n=$(($n+2)); eval x=\$$n; done
+ n=$((($n - 2) / 2))
+ cat >> description.html <You can start with one of the $n following flavors:
EOT
- i=0
- while [ $i -lt $n ]; do
- eval flavor=\$$((($n - $i)*2))
- eval ram=\$$((($n - $i)*2 -1))
- cat >> description.html <> description.html <$flavor needs ${ram}B of RAM and $(ls fd* | \
awk "/fd$(($i+1))/{q=1}{if(!q)n++}END{print n}") floppies:
fd001.img to $(ls -r fd${i}* | sed q).
@@ -39,12 +51,13 @@
gtkonly the minimum SliTaz distribution subset with GTK+ support
core the default SliTaz distribution
EOT
- ).
+ ).
EOT
- i=$(($i+1))
- done
+ i=$(($i+1))
+ done
+ echo "
" >> description.html
+ fi
cat >> description.html <
Start your computer with fd001.img. It will show the kernel version
string and the kernel cmdline line. You can edit the cmdline. Most users can
@@ -53,6 +66,8 @@
The floppy is then loaded into memory (one dot each 64KB) and you will be
prompted to insert the next floppy, fd002.img. And so on up to last
floppy.
+EOT
+ [ -n "$1" ] && cat >> description.html <You will be prompted to insert extra floppies for the next flavors.
You can bypass this by using B to boot without loading extra floppies.
@@ -63,4 +78,5 @@
done <"
text="${dir/-/ }";;
*)
@@ -83,7 +84,7 @@
echo " >$text"
case "$dir" in
- *-*)
+ *-*|next)
echo " ";;
*)
echo "
If you have a CD-ROM, an USB port and an USB key or a network card, but you
+
If you have a CD-ROM, a USB port and a USB key or a network card, but you
can't boot these devices directly, then try floppy-grub4dos first. This 1.44Mb floppy provides tiny programs to boot
@@ -259,24 +261,24 @@