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