Skip to content

Commit

Permalink
declare
Browse files Browse the repository at this point in the history
  • Loading branch information
dezren39 committed Mar 11, 2024
1 parent 33ab6c3 commit ecab6b9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions sources/identity/bootstrap-init.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
set -u
if [ -n "$1" ]; then
BOOTSTRAP_REPO_NAME="$1"
fi
Expand Down Expand Up @@ -37,7 +36,6 @@ fi
if [ -z "$BOOTSTRAP_HOST" ]; then
BOOTSTRAP_HOST="localhost:3333"
fi
set -e
apt update
apt install -y git
git clone "$BOOTSTRAP_REPO"
Expand Down
2 changes: 0 additions & 2 deletions sources/identity/bootstrap.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
set -u
if [ -n "$1" ]; then
BOOTSTRAP_HOST="$1"
fi
Expand All @@ -18,7 +17,6 @@ fi
if [ -z "$BOOTSTRAP_SCRIPT" ]; then
BOOTSTRAP_SCRIPT="init"
fi
set -e
apt update
apt install -y curl
curl -o "$BOOTSTRAP_SCRIPT" "http://$BOOTSTRAP_HOST/$BOOTSTRAP_URL_PATH/$BOOTSTRAP_SCRIPT"
Expand Down
2 changes: 0 additions & 2 deletions sources/identity/init.template.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
set -u
if [ -n "$1" ]; then
CHARM_URL="$1"
fi
Expand Down Expand Up @@ -31,7 +30,6 @@ if [ -z "$CHARM_LINK_URL" ] || [ "$CHARM_LINK_URL" = "\{\{CHARM_LINK_URL\}\}" ];
echo "Using default link: $CHARM_LINK_URL"
fi
export CHARM_LINK_URL
set -e
/boot/dietpi/dietpi-software uninstall 103 104 # ramlog dropbear
/boot/dietpi/dietpi-software install 188 # go (git by dependency)
source /etc/bash.bashrc
Expand Down
2 changes: 0 additions & 2 deletions sources/identity/provider.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env sh
set -u
if [ -n "$1" ]; then
CHARM_DIR="$1"
fi
Expand Down Expand Up @@ -32,7 +31,6 @@ if [ -z "$TURSO_AUTH_TOKEN" ]; then
echo "TURSO_AUTH_TOKEN not set"
exit 1
fi
set -e
random() {
echo $(dd if=/dev/urandom bs=1 count=64 2>/dev/null | xxd -p)
}
Expand Down

0 comments on commit ecab6b9

Please sign in to comment.