diff --git a/meta-ov/recipes-apps/ovmenu-ng-skripts/files/transfer-xcsoar.sh b/meta-ov/recipes-apps/ovmenu-ng-skripts/files/transfer-xcsoar.sh index 0f354a2d..9649c38c 100755 --- a/meta-ov/recipes-apps/ovmenu-ng-skripts/files/transfer-xcsoar.sh +++ b/meta-ov/recipes-apps/ovmenu-ng-skripts/files/transfer-xcsoar.sh @@ -20,8 +20,8 @@ # openvario/backup// # So you can store backups from more than one OV on the same stick! -echo ' [..........] Starting' -echo ' [#.........] Wait until "DONE !!" appears before you exit!' +echo ' [==========] Starting' +echo ' [#=========] Wait until "DONE !!" appears before you exit!' # Provident background system buffer sync to help later syncs finish quicker sync& @@ -49,7 +49,7 @@ restore() { rsync --recursive --mkpath --checksum --quiet --progress "$1" "$2" test ${RSYNC_EXIT:=$?} -eq 0 then - echo " [####......] All $3 files have been restored." + echo " [####======] All $3 files have been restored." else >&2 echo " An rsync error $RSYNC_EXIT has occurred!" fi @@ -59,7 +59,7 @@ restore() { case `basename "$0"` in backup-system.sh) - echo ' [##........] System check ...' + echo ' [##========] System check ...' # Store SSH status if /bin/systemctl --quiet is-enabled dropbear.socket @@ -81,7 +81,7 @@ backup-system.sh) # Copy brightness setting cat /sys/class/backlight/lcd/brightness > /home/root/brightness - echo ' [####......] Starting backup ...' + echo ' [####======] Starting backup ...' # Copy all directories and files from list below to backup directory recursively. # We use --checksum here due to cubieboards not having an rtc clock if @@ -100,18 +100,18 @@ backup-system.sh) LISTE test ${RSYNC_EXIT:=$?} -eq 0 then - echo ' [######....] All files and settings have been backed up.' + echo ' [######====] All files and settings have been backed up.' else >&2 echo " An rsync error $RSYNC_EXIT has occurred!" fi;; restore-xcsoar.sh) - echo ' [##........] Starting restore of XCSoar ...' + echo ' [##========] Starting restore of XCSoar ...' # Call Shell Function defined above restore "$USB_PATH/$BACKUP/$MAC/$XCSOAR_PATH"/ "$XCSOAR_PATH"/ XCSoar;; restore-system.sh) - echo ' [##........] Starting restore ...' + echo ' [##========] Starting restore ...' # Eliminate /etc/opkg backup in case it's present rm -rf "$USB_PATH/$BACKUP/$MAC"/etc/opkg/ @@ -123,14 +123,14 @@ restore-system.sh) case `cat /home/root/ssh-status` in enabled) /bin/systemctl enable --quiet --now dropbear.socket - echo " [####......] SSH has been enabled permanently.";; + echo " [####======] SSH has been enabled permanently.";; temporary) /bin/systemctl disable --quiet --now dropbear.socket /bin/systemctl start --quiet --now dropbear.socket - echo " [####......] SSH has been enabled temporarily.";; + echo " [####======] SSH has been enabled temporarily.";; disabled) /bin/systemctl disable --quiet --now dropbear.socket - echo " [####......] SSH has been disabled.";; + echo " [####======] SSH has been disabled.";; esac # Restore variod and sensord status @@ -138,22 +138,22 @@ restore-system.sh) do case `cat /home/root/$DAEMON-status` in enabled) /bin/systemctl enable --quiet --now $DAEMON - echo " [#####.....] $DAEMON has been enabled.";; + echo " [#####=====] $DAEMON has been enabled.";; disabled) /bin/systemctl disable --quiet --now $DAEMON - echo " [#####.....] $DAEMON has been disabled.";; + echo " [#####=====] $DAEMON has been disabled.";; esac done # Restore brightness setting cat /home/root/brightness > /sys/class/backlight/lcd/brightness - echo " [######....] brightness setting has been restored.";; + echo " [######====] brightness setting has been restored.";; *) >&2 echo 'call as backup-system.sh, restore-xcsoar.sh or restore-system.sh' exit 1;; esac # Sync the system buffer to make sure all data is on disk -echo ' [#######...] Please wait a moment, synchronization is not yet complete!' +echo ' [#######===] Please wait a moment, synchronization is not yet complete!' sync echo ' [##########] DONE !! ---------------------------------------------------' exit $RSYNC_EXIT \ No newline at end of file