Explorar el Código

Add a final success message for remore restore

Bob Mottram hace 10 años
padre
commit
7aa81a0b29
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2
    0
      install-freedombone.sh

+ 2
- 0
install-freedombone.sh Ver fichero

@@ -2670,6 +2670,8 @@ function restore_from_friend {
2670 2670
   echo '  fi' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
2671 2671
   echo 'fi' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
2672 2672
   echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
2673
+  echo 'echo "*** Remote restore was successful ***"' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
2674
+  echo '' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
2673 2675
   echo 'exit 0' >> /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME
2674 2676
 
2675 2677
   chmod 400 /usr/bin/$RESTORE_FROM_FRIEND_SCRIPT_NAME