u
This commit is contained in:
@@ -16,14 +16,19 @@ if [ $# -lt 1 ]; then
|
|||||||
fi
|
fi
|
||||||
operation=$1
|
operation=$1
|
||||||
|
|
||||||
clone_trg=/tmp
|
options_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master/dots/archinstall/${HOSTNAME}/options.sh
|
||||||
source ${clone_trg}/lnx-arch/dots/archinstall/${HOSTNAME}/options.sh
|
options_trg=/tmp/options.sh
|
||||||
|
rm -rf ${options_trg}
|
||||||
|
rm -rf ${options_trg}.tmp
|
||||||
|
wget -q ${options_url} -O ${options_trg}
|
||||||
|
source ${options_trg}
|
||||||
if [ -z "${OPTIONS_LOADED}" ]; then
|
if [ -z "${OPTIONS_LOADED}" ]; then
|
||||||
echo "error: unable to load options"
|
echo "error: unable to load options"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
user=${USER}
|
user=${USER}
|
||||||
|
clone_trg=/tmp
|
||||||
|
|
||||||
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
# ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user