gocryptfs: clean session mount/unmount via systemd service #29
@@ -361,8 +361,12 @@ if [[ -n "$EXISTING_OEMDRV_DEV" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -f "$MOUNT_POINT/system_setup/setup_system.inc.sh" && -f "$MOUNT_POINT/config/setup_system.conf" ]]; then
|
if [[ -f "$MOUNT_POINT/system_setup/setup_system.inc.sh" && -f "$MOUNT_POINT/config/setup_system.conf" ]]; then
|
||||||
|
if [ ! -z $REPO_URL ]; then BACK_REPO_URL="$REPO_URL"; fi
|
||||||
|
if [ ! -z $REPO_BRANCH ]; then BACK_REPO_BRANCH="$REPO_BRANCH"; fi
|
||||||
info "Reading existing configuration from ${MOUNT_POINT} ..."
|
info "Reading existing configuration from ${MOUNT_POINT} ..."
|
||||||
source "$MOUNT_POINT/system_setup/setup_system.inc.sh"
|
source "$MOUNT_POINT/system_setup/setup_system.inc.sh"
|
||||||
|
if [ ! -z $BACK_REPO_URL ]; then REPO_URL="$BACK_REPO_URL"; fi
|
||||||
|
if [ ! -z $BACK_REPO_BRANCH ]; then REPO_BRANCH="$BACK_REPO_BRANCH"; fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ── Check existing git repository origin ──────────────────────────────
|
# ── Check existing git repository origin ──────────────────────────────
|
||||||
|
|||||||
Reference in New Issue
Block a user