k0boldz \
This commit is contained in:
+2
-3
@@ -91,7 +91,7 @@ echo "Compressing up and deleting $dname to $dname.tar.gz..."
|
|||||||
tar czf $dname.tar.gz $dname
|
tar czf $dname.tar.gz $dname
|
||||||
rm -rf $dname
|
rm -rf $dname
|
||||||
|
|
||||||
echo "dump_configs.sh complete" >> ./status.txt
|
echo "dump_configs complete" >> ./status.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
reconfigure_full () {
|
reconfigure_full () {
|
||||||
@@ -128,8 +128,7 @@ reconfigure_full () {
|
|||||||
# stop da services
|
# stop da services
|
||||||
bash $git_dir/services.sh stop
|
bash $git_dir/services.sh stop
|
||||||
|
|
||||||
# backup conf
|
dump_configs
|
||||||
bash $git_dir/dump_configs.sh
|
|
||||||
|
|
||||||
# replace dem by truncation
|
# replace dem by truncation
|
||||||
echo "Placing the new config files by truncation..."
|
echo "Placing the new config files by truncation..."
|
||||||
|
|||||||
Reference in New Issue
Block a user