From 6112e7e69b024cb434a5b212c014cd5887110ad4 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Thu, 26 May 2022 18:33:15 +0200 Subject: [PATCH] Add systemctl docker --- scripts/configure.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/configure.sh b/scripts/configure.sh index ef828333..e6257f0c 100755 --- a/scripts/configure.sh +++ b/scripts/configure.sh @@ -17,10 +17,16 @@ echo sudo wget -O "${ROOT_FOLDER}"/scripts/pacapt https://github.com/icy/pacapt/raw/ng/pacapt sudo chmod 755 "${ROOT_FOLDER}"/scripts/pacapt sudo "${ROOT_FOLDER}"/scripts/pacapt -Sy -sudo "${ROOT_FOLDER}"/scripts/pacapt -S docker docker-compose jq coreutils curl -y +sudo "${ROOT_FOLDER}"/scripts/pacapt -S docker docker-compose jq coreutils curl lsb-release -y + +LSB="$(lsb_release -is)" systemctl start docker.service systemctl enable docker.service +# If we are on Arch +# if [[ "${LSB}" == "Arch" ]]; then +# fi + # Create configured status touch "${ROOT_FOLDER}/state/configured"