default turn off interactive mode when attace shell into docker
This commit is contained in:
@@ -91,12 +91,14 @@ function print_container_info {
|
|||||||
##############################################################################################################################
|
##############################################################################################################################
|
||||||
# Run Code
|
# Run Code
|
||||||
##############################################################################################################################
|
##############################################################################################################################
|
||||||
|
if [ "$INTERACTIVE_MODE" != "false" ]; then
|
||||||
find_borg_repo backups/
|
find_borg_repo backups/
|
||||||
export BORG_REPO="${repo_list[selected_repo]}"
|
export BORG_REPO="${repo_list[selected_repo]}"
|
||||||
if [ ! -z "$BORG_REPO" ]; then
|
if [ ! -z "$BORG_REPO" ]; then
|
||||||
ask_for_repo_password
|
ask_for_repo_password
|
||||||
clear
|
clear
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
print_container_info
|
print_container_info
|
||||||
neofetch
|
neofetch
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ ENV USER=borg
|
|||||||
ENV UID=1000
|
ENV UID=1000
|
||||||
ENV GID=1000
|
ENV GID=1000
|
||||||
ENV MAINTENANCE_ENABLE="false"
|
ENV MAINTENANCE_ENABLE="false"
|
||||||
|
ENV INTERACTIVE_MODE="false"
|
||||||
ENV TZ=""
|
ENV TZ=""
|
||||||
|
|
||||||
# Add Folders and Shell Scripts
|
# Add Folders and Shell Scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user