=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== clonezilla-3.35.2/setup/files/ocs/live-hook/ocs-live-hook-functions-465- echo -n "$i... " clonezilla-3.35.2/setup/files/ocs/live-hook/ocs-live-hook-functions:466: for j in `dpkg -L $i 2>/dev/null`; do clonezilla-3.35.2/setup/files/ocs/live-hook/ocs-live-hook-functions-467- [ "$(basename $j)" = "unifont.pcf.gz" ] && continue ############################################## clonezilla-3.35.2/setup/files/gparted/usr/sbin/gparted-console-font-size-36-ocs_file="$0" clonezilla-3.35.2/setup/files/gparted/usr/sbin/gparted-console-font-size:37:ocs=`basename $ocs_file` clonezilla-3.35.2/setup/files/gparted/usr/sbin/gparted-console-font-size-38-# ############################################## clonezilla-3.35.2/setup/files/gparted/usr/share/pixmaps/exit.xpm-812-". v+w+' x+y+z+A+B+C+D+q.q.q.q.q.q.E+F+G+H+I+J+K+L+M+N+O+P+Q+R+q.q.q.q.q.q.S+T+U+V+W+X+Y+'.w+v+. ", clonezilla-3.35.2/setup/files/gparted/usr/share/pixmaps/exit.xpm:813:". Z+`+' @.@+@@@#@$@(+q.q.q.q.q.%@&@*@=@-@;@>@,@'@)@!@!@~@{@]@^@q.q.q.q.q.(+/@(@_@:@:@<@[@`+Z+. ", clonezilla-3.35.2/setup/files/gparted/usr/share/pixmaps/exit.xpm-814-". }@f ' |@1@2@3@4@5@q.q.q.q.6@7@8@9@0@a@b@c@d@e@f@g@h@i@j@k@l@m@n@o@q.q.q.q.p@q@r@s@s@t@u@f }@. ", ############################################## clonezilla-3.35.2/setup/files/gparted/usr/share/gparted/bin/gl-functions-145- echo clonezilla-3.35.2/setup/files/gparted/usr/share/gparted/bin/gl-functions:146: echo "[$LOGNAME] You need to run this script \"`basename $0`\" as root." clonezilla-3.35.2/setup/files/gparted/usr/share/gparted/bin/gl-functions-147- echo ############################################## clonezilla-3.35.2/bin/get-latest-ocs-live-ver-41- clonezilla-3.35.2/bin/get-latest-ocs-live-ver:42:ocs=`basename $0` clonezilla-3.35.2/bin/get-latest-ocs-live-ver-43-# ############################################## clonezilla-3.35.2/sbin/ocs-gen-bt-slices-36-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-gen-bt-slices:37:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-gen-bt-slices-38-# ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-355- # From the output file of parted, we can decide if the partition is gpt or mbr clonezilla-3.35.2/sbin/ocs-onthefly:356: if `is_gpt_partitition_table_file $tgt_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-357- create_gpt_part_table_in_onthefly clonezilla-3.35.2/sbin/ocs-onthefly:358: elif `is_mbr_partitition_table_file $tgt_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-359- create_mbr_part_table_in_onthefly ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-481- # This method works for both local mode and network mode. clonezilla-3.35.2/sbin/ocs-onthefly:482: if `is_mbr_partitition_table_file $tgt_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-483- extended_pt_in_tgt_hd="$(get_extended_partition_parted_format $tgt_parted_info)" ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-524- # Not GPT type of disk. We only deal with MBR for this hidden data clonezilla-3.35.2/sbin/ocs-onthefly:525: if `is_mbr_partitition_table_disk /dev/$target_hd`; then clonezilla-3.35.2/sbin/ocs-onthefly-526- echo "$msg_delimiter_star_line" | tee --append ${OCS_LOGFILE} ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-562- # # find the available partitions clonezilla-3.35.2/sbin/ocs-onthefly:563: # for partition in `get_known_partition_sf_format $pt_tmp`; do clonezilla-3.35.2/sbin/ocs-onthefly-564- # tgt_parts="$tgt_parts $partition" clonezilla-3.35.2/sbin/ocs-onthefly-565- # done clonezilla-3.35.2/sbin/ocs-onthefly:566: # for partition in `get_swap_partition_sf_format $pt_tmp`; do clonezilla-3.35.2/sbin/ocs-onthefly-567- # target_swap_parts="$target_swap_parts $partition" ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-667- echo $msg_delimiter_star_line | tee --append ${OCS_LOGFILE} clonezilla-3.35.2/sbin/ocs-onthefly:668: if `is_mbr_partitition_table_file $src_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-669- # MBR disk, ask if clone boot loader ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-673- # From the output file of parted, we can decide if the partition is gpt or mbr clonezilla-3.35.2/sbin/ocs-onthefly:674: if `is_gpt_partitition_table_file $src_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-675- pt_type="gpt" clonezilla-3.35.2/sbin/ocs-onthefly:676: elif `is_mbr_partitition_table_file $src_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-677- pt_type="mbr" ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-938- # From the output file of parted, we can decide if the partition is gpt or mbr clonezilla-3.35.2/sbin/ocs-onthefly:939: if `is_gpt_partitition_table_file $src_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-940- pt_type="gpt" clonezilla-3.35.2/sbin/ocs-onthefly:941: elif `is_mbr_partitition_table_file $src_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-942- pt_type="mbr" ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1037- pvscan | grep lvm2 | while read LINE; do clonezilla-3.35.2/sbin/ocs-onthefly:1038: DEV=`echo $LINE | tr -s ' ' | cut -d' ' -f2` clonezilla-3.35.2/sbin/ocs-onthefly:1039: VG=`echo $LINE | tr -s ' ' | cut -d' ' -f4` clonezilla-3.35.2/sbin/ocs-onthefly-1040- # DEV is like /dev/hda2 ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1064- lvscan | grep "/.*/" | while read LINE; do clonezilla-3.35.2/sbin/ocs-onthefly:1065: LOGV=`echo $LINE |tr -s ' ' | cut -d' ' -f2 | tr -d "'"` clonezilla-3.35.2/sbin/ocs-onthefly-1066- # LOGV is like: /dev/vg3/lvol0 ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1332- ret=$? clonezilla-3.35.2/sbin/ocs-onthefly:1333: elif [ "$USE_PARTCLONE_IN_OCS_ONTHEFLY" = "yes" ] && `is_partclone_support_fs $pt_fs`; then clonezilla-3.35.2/sbin/ocs-onthefly-1334- # Ex: partclone.reiserfs -b -s /dev/hda3 -O /dev/hdc1 ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1345- cat "${partclone_log}" >> ${OCS_LOGFILE} clonezilla-3.35.2/sbin/ocs-onthefly:1346: elif `is_partimage_support_fs $pt_fs`; then clonezilla-3.35.2/sbin/ocs-onthefly-1347- echo "Using partimage to clone..." ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1436- ret=$? clonezilla-3.35.2/sbin/ocs-onthefly:1437: elif [ "$USE_PARTCLONE_IN_OCS_ONTHEFLY" = "yes" ] && `is_partclone_support_fs $pt_fs`; then clonezilla-3.35.2/sbin/ocs-onthefly-1438- # Ex: partclone.reiserfs -c -s /dev/hda3 -o - ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1452- # cat "${partclone_log}" >> ${OCS_LOGFILE} clonezilla-3.35.2/sbin/ocs-onthefly:1453: elif `is_partimage_support_fs $pt_fs`; then clonezilla-3.35.2/sbin/ocs-onthefly-1454- echo "Using partimage to clone..." ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1509- ret=$? clonezilla-3.35.2/sbin/ocs-onthefly:1510: elif [ "$USE_PARTCLONE_IN_OCS_ONTHEFLY" = "yes" ] && `is_partclone_support_fs $pt_fs`; then clonezilla-3.35.2/sbin/ocs-onthefly-1511- # Ex: partclone.reiserfs -s - -o /dev/hdc1 ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1524- cat "${partclone_log}" >> ${OCS_LOGFILE} clonezilla-3.35.2/sbin/ocs-onthefly:1525: elif `is_partimage_support_fs $pt_fs`; then clonezilla-3.35.2/sbin/ocs-onthefly-1526- echo "Using partimage to clone..." ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1865- # Here we use get_swap_partition_parted_format instead of get_swap_partition_sf_format since the former can deal with both MBR and GPT format. clonezilla-3.35.2/sbin/ocs-onthefly:1866: for partition in `get_swap_partition_parted_format $tgt_parted_info`; do clonezilla-3.35.2/sbin/ocs-onthefly-1867- echo "Found the swap partition /dev/$partition, create it by:" | tee --append $OCS_LOGFILE ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-1918- for ihd in $target_hd; do clonezilla-3.35.2/sbin/ocs-onthefly:1919: if `is_gpt_partitition_table_disk /dev/$ihd`; then clonezilla-3.35.2/sbin/ocs-onthefly-1920- update-efi-nvram-boot-entry -r $tgt_efi_nvram_data /dev/$ihd | tee --append $OCS_LOGFILE ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-2051-if [ "$install_grub" = "on" ]; then clonezilla-3.35.2/sbin/ocs-onthefly:2052: if [ -z "`echo $grub_partition | grep "/dev/[sh]d[a-z][1-9]*"`" -a "$grub_partition" != "auto" ]; then clonezilla-3.35.2/sbin/ocs-onthefly-2053- [ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-2627- target_part_list="$(echo $BACKUP_DEVS | replace_disk_name_stdin $source_hd $target_hd)" clonezilla-3.35.2/sbin/ocs-onthefly:2628: #for target_part in `get_known_partition_sf_format $pt_tmp`; do clonezilla-3.35.2/sbin/ocs-onthefly-2629- for target_part in $target_part_list; do ############################################## clonezilla-3.35.2/sbin/ocs-onthefly-3023-# process the boot loader clonezilla-3.35.2/sbin/ocs-onthefly:3024:if `is_mbr_partitition_table_file $src_parted_info`; then clonezilla-3.35.2/sbin/ocs-onthefly-3025- # MBR disk, ask if clone boot loader ############################################## clonezilla-3.35.2/sbin/cnvt-ocs-dev-15-# clonezilla-3.35.2/sbin/cnvt-ocs-dev:16:ocs=`basename $0` clonezilla-3.35.2/sbin/cnvt-ocs-dev-17-# Initial setting ############################################## clonezilla-3.35.2/sbin/ocs-img-2-vdk-78-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-img-2-vdk:79:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-img-2-vdk-80-# ############################################## clonezilla-3.35.2/sbin/ocs-restore-mbr-44-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-restore-mbr:45:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-restore-mbr-46-# ############################################## clonezilla-3.35.2/sbin/ocsmgrd-93- # create PXE config file in $config{tftpboot}/pxelinux.cfg/ clonezilla-3.35.2/sbin/ocsmgrd:94: #my $PXECFGFN=`/usr/bin/gethostip $peeraddr | cut -d" " -f3`; clonezilla-3.35.2/sbin/ocsmgrd:95: my $PXECFGFN=`drbl-gethostip $peeraddr`; clonezilla-3.35.2/sbin/ocsmgrd-96- chomp($PXECFGFN); clonezilla-3.35.2/sbin/ocsmgrd-97- my $PXECFGFN_FULL=$config{tftpboot}."/pxelinux.cfg/".$PXECFGFN; clonezilla-3.35.2/sbin/ocsmgrd:98: system("cp -f $pxe_conf_default $PXECFGFN_FULL"); clonezilla-3.35.2/sbin/ocsmgrd:99: system("set-default-pxe-img -i local -c $PXECFGFN_FULL >/dev/null 2>&1"); clonezilla-3.35.2/sbin/ocsmgrd:100: system("hide_reveal_pxe_img clonezilla hide $PXECFGFN_FULL >/dev/null 2>&1"); clonezilla-3.35.2/sbin/ocsmgrd-101- # We might have Clonezilla-live-based client clonezilla-3.35.2/sbin/ocsmgrd:102: system("[ -n \"\$(LC_ALL=C grep -iE '^label Clonezilla-live' $PXECFGFN_FULL)\" ] && hide_reveal_pxe_img Clonezilla-live hide $PXECFGFN_FULL >/dev/null 2>&1"); clonezilla-3.35.2/sbin/ocsmgrd-103- ############################################## clonezilla-3.35.2/sbin/ocsmgrd-107- # for PXE MAC config style, like 01-00-50-56-01-01-01 clonezilla-3.35.2/sbin/ocsmgrd:108: my $PXECFG_MACFN=`echo $peermac | tr ":" "-"`; clonezilla-3.35.2/sbin/ocsmgrd-109- $PXECFG_MACFN="01-".$PXECFG_MACFN; ############################################## clonezilla-3.35.2/sbin/ocsmgrd-111- unlink ($PXECFG_MACFN_FULL) if -f $PXECFG_MACFN_FULL; clonezilla-3.35.2/sbin/ocsmgrd:112: system("LC_ALL=C cp -f $PXECFGFN_FULL $PXECFG_MACFN_FULL"); clonezilla-3.35.2/sbin/ocsmgrd-113-} ############################################## clonezilla-3.35.2/sbin/ocsmgrd-125- my $GRUBCFGFN_FULL=$config{tftpboot}."/grub-efi.cfg/".$GRUBCFGFN; clonezilla-3.35.2/sbin/ocsmgrd:126: system("cp -f $grub_conf_default $GRUBCFGFN_FULL"); clonezilla-3.35.2/sbin/ocsmgrd:127: system("hide_reveal_grub_efi_ent local-disk reveal $GRUBCFGFN_FULL >/dev/null 2>&1"); clonezilla-3.35.2/sbin/ocsmgrd:128: system("set-default-grub-efi-img -i local-disk -c $GRUBCFGFN_FULL >/dev/null 2>&1"); clonezilla-3.35.2/sbin/ocsmgrd:129: system("hide_reveal_grub_efi_ent clonezilla-se-client hide $GRUBCFGFN_FULL >/dev/null 2>&1"); clonezilla-3.35.2/sbin/ocsmgrd-130- # We might have Clonezilla-live-based client clonezilla-3.35.2/sbin/ocsmgrd:131: system("[ -n \"\$(LC_ALL=C grep -iE '^menuentry.* --id clonezilla-live-client' $GRUBCFGFN_FULL)\" ] && hide_reveal_grub_efi_ent clonezilla-live-client hide $GRUBCFGFN_FULL >/dev/null 2>&1"); clonezilla-3.35.2/sbin/ocsmgrd-132- ############################################## clonezilla-3.35.2/sbin/ocsmgrd-136- # for GRUB EFI NB MAC config style, like grub.cfg-01-00-50-56-01-01-01 clonezilla-3.35.2/sbin/ocsmgrd:137: my $GRUBCFG_MACFN=`echo $peermac | tr ":" "-"`; clonezilla-3.35.2/sbin/ocsmgrd-138- $GRUBCFG_MACFN="grub.cfg-01-".$GRUBCFG_MACFN; ############################################## clonezilla-3.35.2/sbin/ocsmgrd-140- unlink ($GRUBCFG_MACFN_FULL) if -f $GRUBCFG_MACFN_FULL; clonezilla-3.35.2/sbin/ocsmgrd:141: system("LC_ALL=C cp -f $GRUBCFGFN_FULL $GRUBCFG_MACFN_FULL"); clonezilla-3.35.2/sbin/ocsmgrd-142-} ############################################## clonezilla-3.35.2/sbin/ocsmgrd-197- # add code to parse if it is IP ? or other keyword to check... clonezilla-3.35.2/sbin/ocsmgrd:198: print "Client $peeraddr ($peermac) finished restoring. Stats: $peermsg\n"; clonezilla-3.35.2/sbin/ocsmgrd:199: &client_joblog("client $peeraddr ($peermac) finished restoring. Stats: $peermsg"); clonezilla-3.35.2/sbin/ocsmgrd-200- if ( "$config{write_pxe_cfg}" eq "0" ) { ############################################## clonezilla-3.35.2/sbin/ocs-expand-mbr-pt-102-# Check if GPT disk, if yes, exit clonezilla-3.35.2/sbin/ocs-expand-mbr-pt:103:if `is_gpt_partitition_table_disk $target_disk`; then clonezilla-3.35.2/sbin/ocs-expand-mbr-pt-104- [ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE ############################################## clonezilla-3.35.2/sbin/ocs-expand-mbr-pt-238- pt_no="$(LC_ALL=C get_part_number $dev | sed -r -e "s|^[^[:digit:]]*||g")" clonezilla-3.35.2/sbin/ocs-expand-mbr-pt:239: if `is_partition $dev` && [ "$pt_no" -le 4 ]; then clonezilla-3.35.2/sbin/ocs-expand-mbr-pt-240- # primary/extended partitions ############################################## clonezilla-3.35.2/sbin/ocs-tux-postprocess-110-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-tux-postprocess:111:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-tux-postprocess-112- ############################################## clonezilla-3.35.2/sbin/ocs-live-run-menu-29- locale_region="$(echo "$ocs_lang" | sed -e "s|\..*||g")" clonezilla-3.35.2/sbin/ocs-live-run-menu:30: if `locale_required_bterm_or_not "$locale_region"` && \ clonezilla-3.35.2/sbin/ocs-live-run-menu-31- [ -n "$fb_term" ] && \ ############################################## clonezilla-3.35.2/sbin/ocs-live-final-action-149- clonezilla-3.35.2/sbin/ocs-live-final-action:150:ocs=`basename $0` clonezilla-3.35.2/sbin/ocs-live-final-action-151-# ############################################## clonezilla-3.35.2/sbin/ocs-langkbdconf-bterm-27- clonezilla-3.35.2/sbin/ocs-langkbdconf-bterm:28:ocs=`basename $0` clonezilla-3.35.2/sbin/ocs-langkbdconf-bterm-29-# ############################################## clonezilla-3.35.2/sbin/ocs-live-save-30- clonezilla-3.35.2/sbin/ocs-live-save:31:ocs=`basename $0` clonezilla-3.35.2/sbin/ocs-live-save-32-# ############################################## clonezilla-3.35.2/sbin/ocs-live-save-51-if mkdir -p /$LIVE_MEDIA/$ocsroot 2>/dev/null; then clonezilla-3.35.2/sbin/ocs-live-save:52: mkdir -p `dirname $ocsroot` clonezilla-3.35.2/sbin/ocs-live-save-53- ln -fs /$LIVE_MEDIA/$ocsroot $ocsroot ############################################## clonezilla-3.35.2/sbin/ocs-chkimg-453- echo "Finding swap partition(s) in MBR table $target_dir_fullpath/$(to_filename ${ihd})-pt.sf..." clonezilla-3.35.2/sbin/ocs-chkimg:454: for partition in `get_swap_partition_sf_format $target_dir_fullpath/$(to_filename ${ihd})-pt.sf`; do clonezilla-3.35.2/sbin/ocs-chkimg-455- echo "Checking swap partition $partition..." ############################################## clonezilla-3.35.2/sbin/ocs-chkimg-472- echo "Finding swap partition(s) in GPT table $target_dir_fullpath/$(to_filename ${ihd})-pt.parted..." clonezilla-3.35.2/sbin/ocs-chkimg:473: for partition in `get_swap_partition_parted_format $target_dir_fullpath/$(to_filename ${ihd})-pt.parted`; do clonezilla-3.35.2/sbin/ocs-chkimg-474- echo "Checking swap partition $partition..." ############################################## clonezilla-3.35.2/sbin/ocs-chkimg-581-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-chkimg:582:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-chkimg-583-# ############################################## clonezilla-3.35.2/sbin/ocs-live-preload-472-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-live-preload:473:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-live-preload-474-# ############################################## clonezilla-3.35.2/sbin/ocs-run-boot-param-37-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-run-boot-param:38:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-run-boot-param-39-# ############################################## clonezilla-3.35.2/sbin/update-efi-nvram-boot-entry-460-ocs_file="$0" clonezilla-3.35.2/sbin/update-efi-nvram-boot-entry:461:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/update-efi-nvram-boot-entry-462- ############################################## clonezilla-3.35.2/sbin/ocs-lvm2-stop-41- clonezilla-3.35.2/sbin/ocs-lvm2-stop:42: LOGICAL_VOLUMES=`LC_ALL=C lvdisplay 2>/dev/null|grep "$lv_name_grep_term"|awk '{print $3}'|sort|xargs echo` clonezilla-3.35.2/sbin/ocs-lvm2-stop:43: VOLUME_GROUPS=`LC_ALL=C vgdisplay 2>/dev/null|grep "VG Name"|awk '{print $3}'|sort|xargs echo` clonezilla-3.35.2/sbin/ocs-lvm2-stop-44- for x in ${LOGICAL_VOLUMES} clonezilla-3.35.2/sbin/ocs-lvm2-stop-45- do clonezilla-3.35.2/sbin/ocs-lvm2-stop:46: LV_IS_ACTIVE=`LC_ALL=C lvdisplay ${x} 2>/dev/null|grep "# open"|awk '{print $3}'` clonezilla-3.35.2/sbin/ocs-lvm2-stop-47- if [ "${LV_IS_ACTIVE}" = 0 ] ############################################## clonezilla-3.35.2/sbin/ocs-lvm2-stop-56- do clonezilla-3.35.2/sbin/ocs-lvm2-stop:57: VG_HAS_ACTIVE_LV=`LC_ALL=C vgdisplay ${x} 2>/dev/null|grep "Open LV"|awk '{print $3}'|xargs echo` clonezilla-3.35.2/sbin/ocs-lvm2-stop-58- if [ "${VG_HAS_ACTIVE_LV}" = 0 ] ############################################## clonezilla-3.35.2/sbin/ocs-lvm2-stop-67- do clonezilla-3.35.2/sbin/ocs-lvm2-stop:68: LV_IS_ACTIVE=`LC_ALL=C lvdisplay ${x} 2>/dev/null|grep "# open"|awk '{print $3}'` clonezilla-3.35.2/sbin/ocs-lvm2-stop-69- if [ "${LV_IS_ACTIVE}" = 1 ] ############################################## clonezilla-3.35.2/sbin/ocs-lvm2-stop-71- clonezilla-3.35.2/sbin/ocs-lvm2-stop:72: ROOT_DEVICE=`LC_ALL=C mount|grep " / "|awk '{print $1}'` clonezilla-3.35.2/sbin/ocs-lvm2-stop-73- if [ ! ${ROOT_DEVICE} = ${x} ] ############################################## clonezilla-3.35.2/sbin/ocs-cvtimg-comp-634-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-cvtimg-comp:635:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-cvtimg-comp-636-# ############################################## clonezilla-3.35.2/sbin/ocs-restore-ebr-40-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-restore-ebr:41:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-restore-ebr-42-# ############################################## clonezilla-3.35.2/sbin/ocs-restore-ebr-95- dsk_pt="$target_dir_fullpath/$(to_filename $(get_diskname ${ipart}))-pt.parted" clonezilla-3.35.2/sbin/ocs-restore-ebr:96: if ! `is_mbr_partitition_table_file $dsk_pt`; then clonezilla-3.35.2/sbin/ocs-restore-ebr-97- echo "Partition $ipart is not on MBR disk. Maybe it's on GPT one. No need to restore the EBR data." ############################################## clonezilla-3.35.2/sbin/ocs-live-repository-294-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-live-repository:295:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-live-repository-296-# ############################################## clonezilla-3.35.2/sbin/ocs-live-feed-img-651- # Check if firewall is configured (has tables) clonezilla-3.35.2/sbin/ocs-live-feed-img:652: tables=`cat $PROC_IPTABLES_NAMES 2>/dev/null` clonezilla-3.35.2/sbin/ocs-live-feed-img-653- echo -n $"Flushing firewall rules: " ############################################## clonezilla-3.35.2/sbin/ocs-live-feed-img-1516-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-live-feed-img:1517:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-live-feed-img-1518-# ocs_myself_id PID is important variable so that it won't be killed by kill_ps_by_kill_9 in stop_ocs_service ############################################## clonezilla-3.35.2/sbin/ocs-put-signed-grub2-efi-bldr-43-############# clonezilla-3.35.2/sbin/ocs-put-signed-grub2-efi-bldr:44:ocs=`basename $0` clonezilla-3.35.2/sbin/ocs-put-signed-grub2-efi-bldr-45-# ############################################## clonezilla-3.35.2/sbin/ocs-match-checksum-39-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-match-checksum:40:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-match-checksum-41-# ############################################## clonezilla-3.35.2/sbin/ocs-live-dev-69- echo "-o, --normal-menu When a clonezilla image is inserted, by default only restore menu will be shown in the created ISO file. If you want to show normal menu, i.e. with save and restore menu, use this one." clonezilla-3.35.2/sbin/ocs-live-dev:70: echo "-p, --image-path Assign the clonezilla image source path where CLONEZILLA_IMAGE_NAME exists in this server. Default = $ocsroot" clonezilla-3.35.2/sbin/ocs-live-dev-71- echo "-q, --existing-img To use image exists on the destination device when creating recovery device (e.g. /dev/sdg1). the image might already exist (copied or created on the device before). For other mode, image is copied or linked in this program." ############################################## clonezilla-3.35.2/sbin/ocs-iso-2-onie-39-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-iso-2-onie:40:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-iso-2-onie-41-# ############################################## clonezilla-3.35.2/sbin/ocs-expand-gpt-pt-102-# Check if GPT disk, if yes, exit clonezilla-3.35.2/sbin/ocs-expand-gpt-pt:103:if `is_mbr_partitition_table_disk $target_disk`; then clonezilla-3.35.2/sbin/ocs-expand-gpt-pt-104- [ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE ############################################## clonezilla-3.35.2/sbin/ocs-expand-gpt-pt-269- pt_no="$(LC_ALL=C get_part_number $dev | sed -r -e "s|^[^[:digit:]]*||g")" clonezilla-3.35.2/sbin/ocs-expand-gpt-pt:270: if `is_partition $dev` ; then clonezilla-3.35.2/sbin/ocs-expand-gpt-pt-271- [ -z "$start_no_keep" ] && start_no_keep=${start_no/,/} # The 1st one ############################################## clonezilla-3.35.2/sbin/ocs-sr-28-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-sr:29:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-sr-30-ocs_myself_id="$$" ############################################## clonezilla-3.35.2/sbin/ocs-label-dev-38-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-label-dev:39:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-label-dev-40-# ############################################## clonezilla-3.35.2/sbin/ocs-gen-bt-metainfo-61- # Check if file system supported by Partclone or not. clonezilla-3.35.2/sbin/ocs-gen-bt-metainfo:62: if `is_partclone_support_fs $ifs_`; then clonezilla-3.35.2/sbin/ocs-gen-bt-metainfo-63- # Supported by Partclone. Use clone mode (-c) and partclone.${ifs_}, e.g. partclone.ext4 ############################################## clonezilla-3.35.2/sbin/ocs-gen-bt-metainfo-177-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-gen-bt-metainfo:178:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-gen-bt-metainfo-179-# ############################################## clonezilla-3.35.2/sbin/drbl-ocs-28-ocs_file="$0" clonezilla-3.35.2/sbin/drbl-ocs:29:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/drbl-ocs-30-ocs_myself_id="$$" ############################################## clonezilla-3.35.2/sbin/ocs-iso-63- echo "-o, --normal-menu When a clonezilla image is inserted, by default only restore menu will be shown in the created ISO file. If you want to show normal menu, i.e. with save and restore menu, use this one." clonezilla-3.35.2/sbin/ocs-iso:64: echo "-p, --image-path Assign the clonezilla image path where CLONEZILLA_IMAGE_NAME exists. Default = $ocsroot" clonezilla-3.35.2/sbin/ocs-iso-65- echo "-s, --skip-image Do not include any clonezilla image. The is used to created a live CD with DRBL/Clonezilla programs only." ############################################## clonezilla-3.35.2/sbin/ocs-update-initrd-48-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-update-initrd:49:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-update-initrd-50-# ############################################## clonezilla-3.35.2/sbin/ocs-update-initrd-193- # # Get the root drive. clonezilla-3.35.2/sbin/ocs-update-initrd:194: # root_device=`find_device ${rootdir}` || exit 1 clonezilla-3.35.2/sbin/ocs-update-initrd-195- # ... ############################################## clonezilla-3.35.2/sbin/ocs-update-initrd-197- # as clonezilla-3.35.2/sbin/ocs-update-initrd:198: # root_device=`find_device ${rootdir}` clonezilla-3.35.2/sbin/ocs-update-initrd-199- # i.e. remove "|| exit 1". However, it's better to follow the way distribution does. Therefore we modify ocs-function instead of modifying grub-install. ############################################## clonezilla-3.35.2/sbin/ocs-btsrv-357-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-btsrv:358:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-btsrv-359-# ############################################## clonezilla-3.35.2/sbin/ocs-encrypt-img-111-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-encrypt-img:112:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-encrypt-img-113-# ############################################## clonezilla-3.35.2/sbin/ocs-live-general-32- clonezilla-3.35.2/sbin/ocs-live-general:33:ocs=`basename $0` clonezilla-3.35.2/sbin/ocs-live-general-34-# ############################################## clonezilla-3.35.2/sbin/ocs-live-get-img-160-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-live-get-img:161:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-live-get-img-162-OCS_LOGFILE="/var/log/${ocs}.log" ############################################## clonezilla-3.35.2/sbin/ocs-clean-part-fs-38-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-clean-part-fs:39:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-clean-part-fs-40-# ############################################## clonezilla-3.35.2/sbin/ocs-install-grub-252-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-install-grub:253:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-install-grub-254-# ############################################## clonezilla-3.35.2/sbin/ocs-install-grub-401-# exists in the machine using legacy BIOS. clonezilla-3.35.2/sbin/ocs-install-grub:402:if ! `is_mbr_partitition_table_disk /dev/$grub_hd`; then clonezilla-3.35.2/sbin/ocs-install-grub-403- # In this case, it might be GPT or some other non MBR (msdos) case. clonezilla-3.35.2/sbin/ocs-install-grub:404: if `is_gpt_disk_with_bios_boot_part_in_legacy_bios /dev/$grub_hd`; then clonezilla-3.35.2/sbin/ocs-install-grub-405- # This is the case for a GPT disk with a special "bios_boot" partition ############################################## clonezilla-3.35.2/sbin/ocs-install-grub-527- # # Get the root drive. clonezilla-3.35.2/sbin/ocs-install-grub:528: # root_device=`find_device ${rootdir}` || exit 1 clonezilla-3.35.2/sbin/ocs-install-grub-529- # ... ############################################## clonezilla-3.35.2/sbin/ocs-install-grub-531- # as clonezilla-3.35.2/sbin/ocs-install-grub:532: # root_device=`find_device ${rootdir}` clonezilla-3.35.2/sbin/ocs-install-grub-533- # i.e. remove "|| exit 1". However, it's better to follow the way distribution does. Therefore we modify ocs-function instead of modifying grub-install. ############################################## clonezilla-3.35.2/sbin/ocs-live-restore-34- clonezilla-3.35.2/sbin/ocs-live-restore:35:ocs=`basename $0` clonezilla-3.35.2/sbin/ocs-live-restore-36-# ############################################## clonezilla-3.35.2/sbin/ocs-decrypt-img-111-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-decrypt-img:112:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-decrypt-img-113-# ############################################## clonezilla-3.35.2/sbin/ocs-update-syslinux-136-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-update-syslinux:137:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-update-syslinux-138- ############################################## clonezilla-3.35.2/sbin/ocs-console-font-size-41-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-console-font-size:42:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-console-font-size-43-# ############################################## clonezilla-3.35.2/sbin/ocs-gen-grub2-efi-bldr-28-# clonezilla-3.35.2/sbin/ocs-gen-grub2-efi-bldr:29:ocs=`basename $0` clonezilla-3.35.2/sbin/ocs-gen-grub2-efi-bldr-30-check_if_root ############################################## clonezilla-3.35.2/sbin/ocs-live-nicbonding-26-ocs_file="$0" clonezilla-3.35.2/sbin/ocs-live-nicbonding:27:ocs=`basename $ocs_file` clonezilla-3.35.2/sbin/ocs-live-nicbonding-28-# ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-100- local ptype clonezilla-3.35.2/scripts/sbin/ocs-functions:101: if `is_gpt_partitition_table_disk $tdisk`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-102- ptype="gpt" clonezilla-3.35.2/scripts/sbin/ocs-functions:103: elif `is_mbr_partitition_table_disk $tdisk`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-104- ptype="mbr" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-120- # From the output file of parted, we can decide if the partition is gpt or mbr clonezilla-3.35.2/scripts/sbin/ocs-functions:121: if `is_gpt_partitition_table_file $img_dir_fullpath/$(to_filename ${hdsk})-pt.parted`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-122- ptype="gpt" clonezilla-3.35.2/scripts/sbin/ocs-functions:123: elif `is_mbr_partitition_table_file $img_dir_fullpath/$(to_filename ${hdsk})-pt.parted`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-124- ptype="mbr" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-197- fi clonezilla-3.35.2/scripts/sbin/ocs-functions:198: if `is_gpt_partitition_table_disk $input_disk_`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-199- if [ -n "$(LC_ALL=C parted -s $input_disk_ print | grep -Ew "^[[:space:]]+1[[:space:]]+.*[[:space:]]+bios_grub")" ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-1667- save_part_by_ntfsclone clonezilla-3.35.2/scripts/sbin/ocs-functions:1668: elif [ "$USE_PARTCLONE" = "yes" ] && `is_partclone_support_fs $part_fs`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-1669- # case (2): partclone is preferred clonezilla-3.35.2/scripts/sbin/ocs-functions-1670- save_part_by_partclone $part_fs clonezilla-3.35.2/scripts/sbin/ocs-functions:1671: elif `is_partimage_support_fs $part_fs`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-1672- # case (3): partimage supported filesystem, we can use partimage to save it. ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-2692- opt_skip_fs_probe="" clonezilla-3.35.2/scripts/sbin/ocs-functions:2693: if `is_partition ${grub2_hd_p}`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-2694- opt_skip_fs_probe="-s" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-3186- # If the partition table is tag as "gpt", change it as msdos clonezilla-3.35.2/scripts/sbin/ocs-functions:3187: if `is_gpt_partitition_table_disk $tgt_hd_file`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-3188- echo "The partition table in $tgt_hd_file is for GPT, now make it for MBR." | tee --append $OCS_LOGFILE ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-4646- done clonezilla-3.35.2/scripts/sbin/ocs-functions:4647: fileinfo=`ls -lh $file | awk '{ print $6"_"$7"_"$5; }'` clonezilla-3.35.2/scripts/sbin/ocs-functions-4648- else clonezilla-3.35.2/scripts/sbin/ocs-functions:4649: fileinfo=`ls -lh $file/hda1.000 | awk '{ print $6"_"$7"_"$5; }'` clonezilla-3.35.2/scripts/sbin/ocs-functions-4650- fi ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-4654- echo "$numfiles. $filename $fileinfo" >> $TMP clonezilla-3.35.2/scripts/sbin/ocs-functions:4655: numfiles=`expr $numfiles + 1` clonezilla-3.35.2/scripts/sbin/ocs-functions-4656- done ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-4712- trap "[ -f "$TMP" ] && rm -f $TMP" HUP INT QUIT TERM EXIT clonezilla-3.35.2/scripts/sbin/ocs-functions:4713: numfiles=`ls $imagedir 2> /dev/null | wc -l` clonezilla-3.35.2/scripts/sbin/ocs-functions:4714: numfiles=`expr $numfiles + 0` clonezilla-3.35.2/scripts/sbin/ocs-functions-4715- # list the previous saved images ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-4719- numfiles=0 clonezilla-3.35.2/scripts/sbin/ocs-functions:4720: for file in `ls $imagedir 2> /dev/null`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-4721- echo -n "." ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-4742- if [ -e "$imagedir/$file/disk" ]; then clonezilla-3.35.2/scripts/sbin/ocs-functions:4743: for ihd in `get_disk_list_from_img $imagedir/$file` ; do clonezilla-3.35.2/scripts/sbin/ocs-functions-4744- disk_size_="" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-4825- numfiles=0 clonezilla-3.35.2/scripts/sbin/ocs-functions:4826: for file in `ls $imagedir 2> /dev/null`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-4827- echo -n "." ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-4915- trap "[ -f "$TMP" ] && rm -f $TMP" HUP INT QUIT TERM EXIT clonezilla-3.35.2/scripts/sbin/ocs-functions:4916: PROMPT="$(for p in `get_disk_list_from_img $tgt_file` ; do echo "$p" "disk("${p:0:2}")_disk("${p:2}")" off ; done)" clonezilla-3.35.2/scripts/sbin/ocs-functions-4917- if [ "$NUMDISKS" = "1" ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-5217- # get_image_cat_zip_cmd $target_d/$img_file.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:5218: get_image_cat_zip_cmd `get_split_img_1st_chunk $target_d $img_file` clonezilla-3.35.2/scripts/sbin/ocs-functions-5219- # The files are split by split, like hda1.aa, hda1.ab, so we have to add "." ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-5282- # get_image_cat_zip_cmd $target_d/$img_file.ntfs-img.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:5283: get_image_cat_zip_cmd `get_split_img_1st_chunk $target_d $img_file.ntfs-img` clonezilla-3.35.2/scripts/sbin/ocs-functions-5284- # The files are split, like hda1.00, hda1.01, so we have to add "." ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-5455- # get_image_cat_zip_cmd $target_d/$img_file.dd-img.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:5456: get_image_cat_zip_cmd `get_split_img_1st_chunk $target_d $img_file.dd-img` clonezilla-3.35.2/scripts/sbin/ocs-functions-5457- # The files are split, like hda1.00, hda1.01, so we have to add "." ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-5592- # get_image_cat_zip_cmd $target_d/$img_file.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:5593: get_image_cat_zip_cmd `get_split_img_1st_chunk $target_d $img_file` clonezilla-3.35.2/scripts/sbin/ocs-functions-5594- else ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-5620- # get_image_cat_zip_cmd $target_d/$img_file.ntfs-img.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:5621: get_image_cat_zip_cmd `get_split_img_1st_chunk $target_d $img_file.ntfs-img` clonezilla-3.35.2/scripts/sbin/ocs-functions-5622- else ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-5739- # get_image_cat_zip_cmd $target_d/$img_file.dd-img.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:5740: get_image_cat_zip_cmd `get_split_img_1st_chunk $target_d $img_file.dd-img` clonezilla-3.35.2/scripts/sbin/ocs-functions-5741- else ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-5932- # get_image_cat_zip_cmd $imagedir/$target_d/$img_file.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:5933: get_image_cat_zip_cmd `get_split_img_1st_chunk $imagedir/$target_d $img_file` clonezilla-3.35.2/scripts/sbin/ocs-functions-5934- # The files are split by split, like hda1.aa, hda1.ab, so we have to add "." ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-7381- for ihd in $target_hd; do clonezilla-3.35.2/scripts/sbin/ocs-functions:7382: for partition in `get_parts_list_from_img $imagedir/$target_dir`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-7383- if [ -n "$(echo "$partition" | grep -iE "$ihd")" ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-7426- for ihd in $target_hd; do clonezilla-3.35.2/scripts/sbin/ocs-functions:7427: for partition in `get_parts_list_from_img $imagedir/$target_dir`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-7428- if [ -n "$(echo "$partition" | grep -iE "$ihd")" ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8103- # # find the available partitions clonezilla-3.35.2/scripts/sbin/ocs-functions:8104: # for partition in `get_known_partition_sf_format $pt_tmp`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-8105- # target_parts="$target_parts $partition" clonezilla-3.35.2/scripts/sbin/ocs-functions-8106- # done clonezilla-3.35.2/scripts/sbin/ocs-functions:8107: # for partition in `get_swap_partition_sf_format $pt_tmp`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-8108- # target_swap_parts="$target_swap_parts $partition" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8370- # because the image is not created completely yet. clonezilla-3.35.2/scripts/sbin/ocs-functions:8371: if `is_gpt_partitition_table_file $target_dir_fullpath/$(to_filename ${ihd})-pt.parted`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-8372- if [ "$RETVAL" -ne 0 ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8411- fi clonezilla-3.35.2/scripts/sbin/ocs-functions:8412: elif `is_mbr_partitition_table_file $target_dir_fullpath/$(to_filename ${ihd})-pt.parted`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-8413- if [ "$RETVAL" -ne 0 ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8607- for ihd in $target_hd; do clonezilla-3.35.2/scripts/sbin/ocs-functions:8608: for partition in `get_parts_list_from_img $ocsroot/$target_dir`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-8609- if [ -n "$(echo "$partition" | grep -iE "$ihd")" ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8767- # Find the source hd clonezilla-3.35.2/scripts/sbin/ocs-functions:8768: for jpart in `get_parts_list_from_img $ocsroot/$target_dir`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-8769- shd_tmp="$(get_diskname $jpart)" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8846- # Only for MBR, excluding GPT type of disk. We only deal with MBR for this hidden data clonezilla-3.35.2/scripts/sbin/ocs-functions:8847: if `is_mbr_partitition_table_disk /dev/$ihd`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-8848- echo $msg_delimiter_star_line | tee --append $OCS_LOGFILE ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8930- echo "Finding swap partition(s) in MBR table $target_dir_fullpath/$(to_filename ${ihd})-pt.sf..." | tee --append $OCS_LOGFILE clonezilla-3.35.2/scripts/sbin/ocs-functions:8931: for partition in `get_swap_partition_sf_format $target_dir_fullpath/$(to_filename ${ihd})-pt.sf`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-8932- echo "Creating swap partition /dev/$partition..." | tee --append $OCS_LOGFILE ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8951- echo "Finding swap partition(s) in GPT table $target_dir_fullpath/$(to_filename ${ihd})-pt.parted..." | tee --append $OCS_LOGFILE clonezilla-3.35.2/scripts/sbin/ocs-functions:8952: for partition in `get_swap_partition_parted_format $target_dir_fullpath/$(to_filename ${ihd})-pt.parted`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-8953- echo "Creating swap partition /dev/$partition..." | tee --append $OCS_LOGFILE ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-8997- echo "Finding extended partition(s) in parted table $target_dir_fullpath/$(to_filename ${ihd})-pt.parted..." | tee --append $OCS_LOGFILE clonezilla-3.35.2/scripts/sbin/ocs-functions:8998: for partition in `get_extended_partition_parted_format $target_dir_fullpath/$(to_filename ${ihd})-pt.parted`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-8999- echo "Restoring extended boot record (EBR) in extended partition /dev/$partition..." | tee --append $OCS_LOGFILE ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-9186- for ihd in $target_hd; do clonezilla-3.35.2/scripts/sbin/ocs-functions:9187: if `is_gpt_partitition_table_disk /dev/$ihd` && \ clonezilla-3.35.2/scripts/sbin/ocs-functions:9188: ! `is_gpt_disk_with_bios_boot_part_in_legacy_bios /dev/$ihd`; then clonezilla-3.35.2/scripts/sbin/ocs-functions-9189- efi_info_tmp="$(mktemp /tmp/efi_info.XXXXXX)" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-9287- # kill the prog daemon clonezilla-3.35.2/scripts/sbin/ocs-functions:9288: pid=`ps -e | grep -Ew "$prog" | grep -v "grep"` clonezilla-3.35.2/scripts/sbin/ocs-functions-9289- [ -n "$pid" ] && killall -9 $prog ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-9725- clonezilla-3.35.2/scripts/sbin/ocs-functions:9726: if [ -n "$TIME_to_wait" -a -z "`echo "$TIME_to_wait" | grep "[0-9].*"`" ]; then clonezilla-3.35.2/scripts/sbin/ocs-functions-9727- [ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-9966- # 2 cases: clonezilla-3.35.2/scripts/sbin/ocs-functions:9967: # (1) Clonezilla live-based Clonezilla SE (where ocs_server=$IP is assigned) clonezilla-3.35.2/scripts/sbin/ocs-functions-9968- # (2) NFS-root based Clonezilla SE ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-11577- # clonezilla.log.1 -> clonezilla.log.2,... clonezilla-3.35.2/scripts/sbin/ocs-functions:11578: for i in `seq $last_digit -1 0`; do clonezilla-3.35.2/scripts/sbin/ocs-functions-11579- if [ -e "${file_}.${i}" ]; then ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-13127- fi clonezilla-3.35.2/scripts/sbin/ocs-functions:13128: numfiles=`expr $numfiles + 1` clonezilla-3.35.2/scripts/sbin/ocs-functions-13129- done ############################################## clonezilla-3.35.2/scripts/sbin/ocs-functions-13353- # get_image_cat_zip_cmd $ocsroot/$tgt_dir/${img_file}.dd-img.aa clonezilla-3.35.2/scripts/sbin/ocs-functions:13354: get_image_cat_zip_cmd `get_split_img_1st_chunk $ocsroot/$tgt_dir ${img_file}.dd-img` clonezilla-3.35.2/scripts/sbin/ocs-functions-13355- # The files are split, like hda1.00, hda1.01, so we have to add "." ############################################## clonezilla-3.35.2/scripts/sbin/ocs-chnthn-functions-145- clonezilla-3.35.2/scripts/sbin/ocs-chnthn-functions:146: #partedhdinfo=`LC_ALL=C parted -s /dev/$idev print` clonezilla-3.35.2/scripts/sbin/ocs-chnthn-functions-147- #Str="/^[[:space:]]*[0-9]+/ && /(fat12|fat16|fat32|vfat)|(ntfs)/" ############################################## clonezilla-3.35.2/scripts/sbin/ocs-chnthn-functions-267- # Fix IP address digits clonezilla-3.35.2/scripts/sbin/ocs-chnthn-functions:268: [ "$hn_vari" = "IP" ] && hn_ip_fix_bits=`expr $HN_VARI_BITS + $HN_VARI_BITS / 3 - 1` clonezilla-3.35.2/scripts/sbin/ocs-chnthn-functions-269- ############################################## clonezilla-3.35.2/scripts/sbin/set-netboot-1st-efi-nvram-120-ocs_file="$0" clonezilla-3.35.2/scripts/sbin/set-netboot-1st-efi-nvram:121:ocs=`basename $ocs_file` clonezilla-3.35.2/scripts/sbin/set-netboot-1st-efi-nvram-122- ############################################## clonezilla-3.35.2/samples/mdisks-checksum-377-ocs_file="$0" clonezilla-3.35.2/samples/mdisks-checksum:378:ocs=`basename $ocs_file` clonezilla-3.35.2/samples/mdisks-checksum-379-# ############################################## clonezilla-3.35.2/samples/gen-rec-usb-55-ocs_file="$0" clonezilla-3.35.2/samples/gen-rec-usb:56:ocs=`basename $ocs_file` clonezilla-3.35.2/samples/gen-rec-usb-57-# ############################################## clonezilla-3.35.2/samples/gen-rec-iso-59-ocs_file="$0" clonezilla-3.35.2/samples/gen-rec-iso:60:ocs=`basename $ocs_file` clonezilla-3.35.2/samples/gen-rec-iso-61-#