chg: [Update v2.4] cp config

pull/418/head
Terrtia 2019-11-05 16:44:10 +01:00
parent 71718fb69f
commit 712de0d88a
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
3 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@ -36,6 +36,8 @@ var/www/server.key
# Local config
configs/keys
bin/packages/core.cfg
bin/packages/config.cfg.backup
configs/core.cfg
configs/core.cfg.backup
configs/update.cfg

View File

@ -53,3 +53,6 @@ if __name__ == "__main__":
r_serv.delete('ail:current_background_script')
r_serv.delete('ail:current_background_script_stat')
r_serv.delete('ail:current_background_update')
if r_serv.scard('ail:update_v2.4') != 1:
pass

View File

@ -23,6 +23,9 @@ bash ${AIL_BIN}/LAUNCH.sh -lav &
wait
echo ""
cp ${AIL_BIN}/packages/config.cfg ${AIL_HOME}/configs/core.cfg
rm ${AIL_BIN}/packages/config.cfg
echo ""
echo -e $GREEN"Updating AIL VERSION ..."$DEFAULT
echo ""