Code:
@StatusBar1.setText("Synchronizing, wait please...")
@exec("sync")
@StatusBar1.setText("Installing boot loader LILO...")
@exec("konsole -e @ComboBox1/boot/bootlilo.sh")
</string>
</stringlist>
</property>
<property name="toolTip" stdset="0">
<string>- Install c-lite linux like a live cd, compressed
- to USB Mass Storage Device or small disk</string>
</property>
</widget>
<widget class="RadioButton">
<property name="name">
<cstring>RadioButton2</cstring>
</property>
<property name="geometry">
<rect>
<x>82</x>
<y>16</y>
<width>140</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Re&al</string>
</property>
<property name="associations" stdset="0">
<stringlist>
<string>exit</string>
<string>@forEach(dir, @exec(ls -1 / | egrep -v "^dev" | egrep -v "^proc" | egrep -v "^mnt" | egrep -v "^boot" | egrep -v "^sys" | egrep -v "^tmp" | egrep -v "^i386" | egrep -v "^Programs" | egrep -v "^cls"))
@ProgressBar1.setMaximum(@dir_count)
@StatusBar1.setText(copying /@dir ...)
@exec(cp --preserve=all -R /@dir @ComboBox1/)
@ProgressBar1.setText(@dir_index)
@end
@exec("mkdir -p @ComboBox1/{tmp,boot,mnt,dev,sys,proc}")
@exec(cd @ComboBox1/ && cat etc/fstab |egrep -o "/mnt/[a-z0-9]+" | cut -b 2- |xargs mkdir)
@exec("device=$(cat /proc/mounts |grep @ComboBox1 |cut -d " " -f 1) && echo "$device / auto defaults 1 1" >@ComboBox1/etc/fstab && cat /etc/fstab | grep -v $device >>@ComboBox1/etc/fstab")
@exec("rm @ComboBox1/etc/mtab")
@exec("cp @ComboBox3/../boot/vmlinuz @ComboBox1/boot")
@exec("cp --preserve -R /dev/null @ComboBox1/dev")
@exec("cp --preserve -R /dev/console @ComboBox1/dev")
@exec("mount -o bind /dev @ComboBox1/dev")
@exec("mount -t proc proc @ComboBox1/proc")
@StatusBar1.setText("Synchronizing, wait please...")
@exec("sync")