Browse Source

Update nextcloudpi-v4.sh

tteckster 2 năm trước cách đây
mục cha
commit
9cca4a56ce
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      ct/nextcloudpi-v4.sh

+ 4 - 4
ct/nextcloudpi-v4.sh

@@ -70,8 +70,8 @@ if [[ $PVE != 1 ]]; then
 fi
 fi
 }
 }
 function default_settings() {
 function default_settings() {
-		echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
-		CT_TYPE="1"
+		echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
+		CT_TYPE="0"
 		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 		echo -e "${DGN}Using Root Password: ${BGN}Automatic Login${CL}"
 		PW=""
 		PW=""
 		echo -e "${DGN}Using Container ID: ${BGN}$NEXTID${CL}"
 		echo -e "${DGN}Using Container ID: ${BGN}$NEXTID${CL}"
@@ -98,8 +98,8 @@ function default_settings() {
 }
 }
 function advanced_settings() {
 function advanced_settings() {
 CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
 CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist "Choose Type" 8 58 2 \
-"1" "Unprivileged" ON \
-"0" "Privileged" OFF \
+"1" "Unprivileged" OFF \
+"0" "Privileged" ON \
 3>&1 1>&2 2>&3)
 3>&1 1>&2 2>&3)
 exitstatus=$?
 exitstatus=$?
 if [ $exitstatus = 0 ]; then
 if [ $exitstatus = 0 ]; then