Subir archivos a "init"
This commit is contained in:
parent
116b145925
commit
b7e7777b4d
@ -229,7 +229,7 @@ echo "$1" >> $HOME/files.log
|
|||||||
fun_filezLTM () {
|
fun_filezLTM () {
|
||||||
fup="$HOME/update"
|
fup="$HOME/update"
|
||||||
echo "$1" >> $HOME/files.log
|
echo "$1" >> $HOME/files.log
|
||||||
#[[ $1 = 'http-server.py' ]] && mv ${fup}/$1 /bin/http-server.sh && chmod +x /bin/http-server.sh
|
[[ $1 = 'http-server.py' ]] && mv ${fup}/$1 /bin/http-server.sh && chmod +x /bin/http-server.sh
|
||||||
[[ -e $1 ]] && mv -f ${fup}/$1 /etc/LTM/$1
|
[[ -e $1 ]] && mv -f ${fup}/$1 /etc/LTM/$1
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ msg -bar
|
|||||||
[[ ! -d $HOME/update ]] && mkdir $HOME/update || rm -f $HOME/update/*
|
[[ ! -d $HOME/update ]] && mkdir $HOME/update || rm -f $HOME/update/*
|
||||||
cd $HOME/update/
|
cd $HOME/update/
|
||||||
msg -bar
|
msg -bar
|
||||||
echo -e "\033[1;33mDescargando ChumoGH... ESPERE "
|
echo -e "\033[1;33mDescargando darnix... ESPERE "
|
||||||
msg -bar
|
msg -bar
|
||||||
wget -q --no-check-certificate -O $HOME/files.tar.gz https://darix.ooguy.com/darnix/Botcgh/raw/branch/main/SCRIPTS/ADMcgh/SCRIPT.tar.gz
|
wget -q --no-check-certificate -O $HOME/files.tar.gz https://darix.ooguy.com/darnix/Botcgh/raw/branch/main/SCRIPTS/ADMcgh/SCRIPT.tar.gz
|
||||||
[[ -d $HOME/update ]] && rm -rf $HOME/update/* || mkdir $HOME/update
|
[[ -d $HOME/update ]] && rm -rf $HOME/update/* || mkdir $HOME/update
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user