Browse Source

Merge branch 'master' into ota-updates

ota-updates
Mayank 5 years ago
parent
commit
2e4619484a
No known key found for this signature in database GPG Key ID: D037D60476CE748C
  1. 11
      configure-box.sh
  2. 11
      install-box.sh

11
configure-box.sh

@ -16,6 +16,17 @@ if [ ! $(uname -s) == "Linux" ]; then
exit 1
fi
check_dependencies () {
for cmd in "$@"; do
if ! command -v $cmd >/dev/null 2>&1; then
echo "This script requires \"${cmd}\" to be installed"
exit 1
fi
done
}
check_dependencies wget docker docker-compose
echo "Start box configuration"
echo "Installing RPCAuth.py and configuring secrets"
cd bin/

11
install-box.sh

@ -11,6 +11,17 @@
# Install the docker-compose box to the current working directory
# Pre-requisites: git
check_dependencies () {
for cmd in "$@"; do
if ! command -v $cmd >/dev/null 2>&1; then
echo "This script requires \"${cmd}\" to be installed"
exit 1
fi
done
}
check_dependencies git
echo "Cloning to current working directory from github..."
git init
git remote add origin https://github.com/getumbrel/umbrel.git

Loading…
Cancel
Save