Use a sane default debian repo
This commit is contained in:
parent
80d9480aa7
commit
597a6ca125
|
@ -94,7 +94,8 @@ SSH_PORT=2222
|
||||||
ONION_ONLY="no"
|
ONION_ONLY="no"
|
||||||
|
|
||||||
# Where to fetch packages
|
# Where to fetch packages
|
||||||
MIRROR='http://httpredir.debian.org/debian'
|
#MIRROR='http://httpredir.debian.org/debian'
|
||||||
|
MIRROR='http://ftp.de.debian.org/debian'
|
||||||
|
|
||||||
mesh_router_setup_script() {
|
mesh_router_setup_script() {
|
||||||
# create a setup script for a mesh router
|
# create a setup script for a mesh router
|
||||||
|
@ -121,9 +122,9 @@ mesh_router_setup_script() {
|
||||||
|
|
||||||
while [[ $# > 1 ]]
|
while [[ $# > 1 ]]
|
||||||
do
|
do
|
||||||
key="$1"
|
key="$1"
|
||||||
|
|
||||||
case $key in
|
case $key in
|
||||||
-h|--help)
|
-h|--help)
|
||||||
show_help
|
show_help
|
||||||
;;
|
;;
|
||||||
|
@ -215,8 +216,8 @@ case $key in
|
||||||
*)
|
*)
|
||||||
# unknown option
|
# unknown option
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
if [[ $INTERACTIVE == "yes" || $INTERACTIVE == "y" || $INTERACTIVE == "Yes" ]]; then
|
if [[ $INTERACTIVE == "yes" || $INTERACTIVE == "y" || $INTERACTIVE == "Yes" ]]; then
|
||||||
|
@ -234,9 +235,9 @@ fi
|
||||||
|
|
||||||
# If this is a mesh variant then create an appropriate script
|
# If this is a mesh variant then create an appropriate script
|
||||||
#if [[ $VARIANT == "mesh"* ]]; then
|
#if [[ $VARIANT == "mesh"* ]]; then
|
||||||
#CONFIG_FILENAME=/tmp/${PROJECT_NAME}_mesh.cfg
|
#CONFIG_FILENAME=/tmp/${PROJECT_NAME}_mesh.cfg
|
||||||
#mesh_router_setup_script $CONFIG_FILENAME
|
#mesh_router_setup_script $CONFIG_FILENAME
|
||||||
#DEFAULT_DOMAIN_NAME=$(cat $CONFIG_FILENAME | grep 'DEFAULT_DOMAIN_NAME' | awk -F '=' '{print $2}')
|
#DEFAULT_DOMAIN_NAME=$(cat $CONFIG_FILENAME | grep 'DEFAULT_DOMAIN_NAME' | awk -F '=' '{print $2}')
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
if [ ! $PASSWORD ]; then
|
if [ ! $PASSWORD ]; then
|
||||||
|
|
Loading…
Reference in New Issue