瀏覽代碼

Update host-backup.sh

tweak
tteckster 1 年之前
父節點
當前提交
1e04051b67
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      misc/host-backup.sh

+ 3 - 3
misc/host-backup.sh

@@ -17,7 +17,7 @@ EOF
 }
 }
 header_info
 header_info
 while true; do
 while true; do
-  read -p "This will Backup Selected Directories. Proceed (y/n)?" yn
+  read -p "This will backup specific files and directories within the 'etc' directory. Proceed (y/n)?" yn
   case $yn in
   case $yn in
   [Yy]*) break ;;
   [Yy]*) break ;;
   [Nn]*) exit ;;
   [Nn]*) exit ;;
@@ -40,8 +40,8 @@ while read -r dir; do
 done < <(ls -d /etc/*)
 done < <(ls -d /etc/*)
 
 
 while [ -z "${HOST_BACKUP:+x}" ]; do
 while [ -z "${HOST_BACKUP:+x}" ]; do
-  HOST_BACKUP=$(whiptail --title "Select Directories" --checklist \
-    "\nSelect what directories to backup:\n" \
+  HOST_BACKUP=$(whiptail --title "SELECTIONS" --checklist \
+    "\nSelect what files/directories to backup:\n" \
     16 $(($MSG_MAX_LENGTH + 58)) 6 \
     16 $(($MSG_MAX_LENGTH + 58)) 6 \
     "${CTID_MENU[@]}" 3>&1 1>&2 2>&3) || exit
     "${CTID_MENU[@]}" 3>&1 1>&2 2>&3) || exit