chg: [Update v2.4] cp config

This commit is contained in:
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 # Local config
configs/keys configs/keys
bin/packages/core.cfg
bin/packages/config.cfg.backup
configs/core.cfg configs/core.cfg
configs/core.cfg.backup configs/core.cfg.backup
configs/update.cfg 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')
r_serv.delete('ail:current_background_script_stat') r_serv.delete('ail:current_background_script_stat')
r_serv.delete('ail:current_background_update') 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 wait
echo "" echo ""
cp ${AIL_BIN}/packages/config.cfg ${AIL_HOME}/configs/core.cfg
rm ${AIL_BIN}/packages/config.cfg
echo "" echo ""
echo -e $GREEN"Updating AIL VERSION ..."$DEFAULT echo -e $GREEN"Updating AIL VERSION ..."$DEFAULT
echo "" echo ""