|
|
|
@ -5235,6 +5235,13 @@ sub umount_build_dirs{
|
|
|
|
|
#
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
sub createiso{
|
|
|
|
|
#проверим что не запущен cl-builder
|
|
|
|
|
if(`mount | grep "on /mnt/builder/usr/calculate/share"`) {
|
|
|
|
|
printmes(gettext('Error')."! ");
|
|
|
|
|
printmes(gettext('Before proceeding, complete the program cl-builder')); printmes(".\n");
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#проверим что система загружена в Scratch режиме и на флешке
|
|
|
|
|
if(defined $data{arg}{rebuild} &&
|
|
|
|
|
($data{scratch} ne "on" || $data{load} ne "ram" || !-e "/mnt/flash")){
|
|
|
|
|