Searched refs:FLAGS_backup_dir (Results 1 – 3 of 3) sorted by relevance
87 debug_msg "Backing up current firmware to $FLAGS_backup_dir"88 mkdir -p "$FLAGS_backup_dir"89 cp "$OLD_BIOS" "$FLAGS_backup_dir/$FLAGS_asset_tag.bios.bin"90 ${FLASHROM_EC} -r "$FLAGS_backup_dir/$FLAGS_asset_tag.ec.bin"95 mosys vpd print all > "$FLAGS_backup_dir/$FLAGS_asset_tag.vpd.txt" ||100 local gpt_backup="$FLAGS_backup_dir/$FLAGS_asset_tag.gpt.bin"105 local restore_script="$FLAGS_backup_dir/$FLAGS_asset_tag.restore.sh"116 echo " cd $FLAGS_backup_dir && sh $FLAGS_asset_tag.restore.sh"143 if [ -n "$FLAGS_backup_dir" ]; then
265 local backup_file_path="$FLAGS_backup_dir/$backup_file_name"266 if mkdir -p "$FLAGS_backup_dir" &&287 echo "WARNING: Cannot create file in $FLAGS_backup_dir... Ignore backups."
240 local backup_file_path="$FLAGS_backup_dir/$backup_file_name"241 if mkdir -p "$FLAGS_backup_dir" &&245 echo "WARNING: Cannot create file in $FLAGS_backup_dir... Ignore backups."