From ebc858227f673e576abdb0d45e40abfe2a0c68a6 Mon Sep 17 00:00:00 2001 From: "b.waal" Date: Thu, 31 Aug 2023 02:05:12 +0200 Subject: [PATCH] Add 'Installer.sh' --- Installer.sh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 Installer.sh diff --git a/Installer.sh b/Installer.sh new file mode 100644 index 0000000..078744f --- /dev/null +++ b/Installer.sh @@ -0,0 +1,37 @@ +#!/bin/bash + +##---------------## +# Static Vars # +##---------------## + +#APTMODE="debconf-apt-progress -- apt" +#PKGM="$APTMODE" +#PKGUD="$PKGM update" +#PKGUP="$PKGM upgrade -y" +#PKGI="${PKGM} install -y" +#PKRM="$PKGM remove --purge -y" +#PKARM="$PKGM autoremove -y" +REPO=Pi-Hole +BRANCH=main +GIT=https://git.ictcorpnet.com/b.waal/$REPO/raw + + + +https://git.ictcorpnet.com/b.waal/Pi-Hole/raw/branch/main + +##-----------## +# Check OS # +##-----------## + +wget $GIT/$BRANCH/Config/OScheck.sh -O /tmp/OScheck.sh +source /tmp/OScheck.sh + +echo $dist + + +##---------------## +# Dependencies # +##---------------## + +#$PKGI curl wget whiptail +apk update && apk add curl wget newt \ No newline at end of file