فهرست منبع

Update debian-v3.sh

tteckster 3 سال پیش
والد
کامیت
39a13ef124
1فایلهای تغییر یافته به همراه8 افزوده شده و 1 حذف شده
  1. 8 1
      ct/debian-v3.sh

+ 8 - 1
ct/debian-v3.sh

@@ -242,7 +242,14 @@ header_info
                 echo -e "${GN}Using ${BGN}${RAM_SIZE}MiB${CL}${GN} RAM${CL}"
                 echo -e "${GN}Using IP Address ${BGN}$NET${CL}"
                 echo -e "${GN}Using VLAN Tag ${BGN}$VLAN1${CL}"
-
+while true; do
+    read -p "Are these settings correct(y/n)?" yn
+    case $yn in
+        [Yy]* ) break;;
+        [Nn]* ) clear; header_info; start_script;;
+        * ) echo "Please answer yes or no";;
+    esac
+done
 }
 function start_script() {
 		echo -e "${YW}Type Advanced, or Press [ENTER] for Default Settings "