mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-30 02:14:34 +01:00
Update audiobookshelf-v5.sh
set default privileged
This commit is contained in:
parent
0213205b29
commit
c89e9ac9c5
@ -96,8 +96,8 @@ if ! command -v pveversion >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
function default_settings() {
|
function default_settings() {
|
||||||
echo -e "${DGN}Using Container Type: ${BGN}Unprivileged${CL} ${RD}NO DEVICE PASSTHROUGH${CL}"
|
echo -e "${DGN}Using Container Type: ${BGN}Privileged${CL}"
|
||||||
CT_TYPE="1"
|
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}"
|
||||||
@ -136,8 +136,8 @@ function default_settings() {
|
|||||||
}
|
}
|
||||||
function advanced_settings() {
|
function advanced_settings() {
|
||||||
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist --cancel-button Exit-Script "Choose Type" 10 58 2 \
|
CT_TYPE=$(whiptail --title "CONTAINER TYPE" --radiolist --cancel-button Exit-Script "Choose Type" 10 58 2 \
|
||||||
"1" "Unprivileged" ON \
|
"1" "Unprivileged" OFF \
|
||||||
"0" "Privileged" 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
|
||||||
|
Loading…
Reference in New Issue
Block a user