updated backup.sh to run with sh

This commit is contained in:
kolaente 2018-01-31 12:28:03 +01:00
parent f086d1da48
commit 988a5818ec
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 3 additions and 17 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
# Copyright 2018 K. Langenberg. All rights reserved.
# Use of this source code is governed by a GPLv3-style
@ -101,7 +101,7 @@ if [ ! -f $backup_hosts_location ]; then
fi
# Load Config
backup_hosts_file=$(<$backup_hosts_location)
backup_hosts_file=$(cat $backup_hosts_location)
####################
# Start the backup #

View File

@ -1,21 +1,7 @@
[
{
"host":"host1",
"host":"host-db",
"user":"root",
"password":"1234"
},
{
"host":"host2",
"user":"root",
"password":"123443"
},
{
"host":"127.0.0.1",
"user":"root",
"password":"jup2000"
},
{
"user":"root",
"password":"123443"
}
]