Update build.func
This commit is contained in:
parent
18dd89fe18
commit
95387c19bb
@ -591,17 +591,18 @@ advanced_settings() {
|
|||||||
|
|
||||||
CT_TYPE=$(<"$TMP_OUTPUT_FILE")
|
CT_TYPE=$(<"$TMP_OUTPUT_FILE")
|
||||||
|
|
||||||
if [ -n "$CT_TYPE" ]; then
|
if [ "$CT_TYPE" == "0" ]; then
|
||||||
if [ "$CT_TYPE" -eq 0 ]; then
|
CT_TYPE_DESC="Privileged"
|
||||||
CT_TYPE_DESC="Privileged"
|
elif [ "$CT_TYPE" == "1" ]; then
|
||||||
else
|
CT_TYPE_DESC="Unprivileged"
|
||||||
CT_TYPE_DESC="Unprivileged"
|
else
|
||||||
fi
|
CT_TYPE=""
|
||||||
|
continue
|
||||||
echo -e "${OS}${BOLD}${DGN}Operating System: ${BGN}$var_os${CL}"
|
|
||||||
echo -e "${OSVERSION}${BOLD}${DGN}Version: ${BGN}$var_version${CL}"
|
|
||||||
echo -e "${CONTAINERTYPE}${BOLD}${DGN}Container Type: ${BGN}$CT_TYPE_DESC${CL}"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -e "${OS}${BOLD}${DGN}Operating System: ${BGN}$var_os${CL}"
|
||||||
|
echo -e "${OSVERSION}${BOLD}${DGN}Version: ${BGN}$var_version${CL}"
|
||||||
|
echo -e "${CONTAINERTYPE}${BOLD}${DGN}Container Type: ${BGN}$CT_TYPE_DESC${CL}"
|
||||||
done
|
done
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user