This commit is contained in:
Frode
2024-05-12 14:39:19 +00:00
parent 1d3a81c604
commit 30df6092fc

View File

@@ -6,12 +6,12 @@
# how to download this script (as root):
#
# cd /tmp
# wget tinyurl.com/fk-arc3 # same as `wget https://git.mz.fo/fro/lnx-arch/raw/branch/master/scripts/curae_setup.sh`
# cat fk-arc3 # verify the downloaded script (IMPORTANT!)
# chmod 755 fk-arc3 # make the script executable
# ./fk-arc3 # run the script
# wget https://git.mz.fo/fro/lnx-arch/raw/branch/master/scripts/curae_setup.sh
# cat curae_setup.sh # verify the downloaded script (IMPORTANT!)
# chmod 755 curae_setup.sh # make the script executable
# ./curae_setup.sh # run the script
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
echo "<< genesis.sh >>"
echo "<< curae_setup.sh >>"
if [ "$EUID" -ne 0 ]
then echo "error: run as 'root'"
@@ -20,11 +20,10 @@ fi
base_url=https://git.mz.fo/fro/lnx-arch/raw/branch/master
src_url=${base_url}/scripts/curae.sh
home_dir=/home/.curae
home_dir=/usr/local/bin
this_file_name=fk-arc3
mkdir -p ${home_dir}
cd ${home_dir}
wget -q ${src_url} -O ${home_dir}/curae.sh
chmod 755 curae.sh