summaryrefslogtreecommitdiff
path: root/src/bin/db-init
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 19:32:59 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-08-26 19:32:59 -0300
commit7623cce199104b5a79ff30b2e9451e6660e82544 (patch)
tree73822380ec5db8183a71b6438216c26b85427fb1 /src/bin/db-init
parent7b5e4eec3daed6fe3eae1d0ba31117653f8e7fb2 (diff)
import db-functions, merge main.cfg with xbs.cfg and fix some variables
Diffstat (limited to 'src/bin/db-init')
-rwxr-xr-xsrc/bin/db-init5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/db-init b/src/bin/db-init
index 37ad299..9fe243e 100755
--- a/src/bin/db-init
+++ b/src/bin/db-init
@@ -3,9 +3,8 @@
CONFIG_DIR="$(dirname "$(readlink -e "$0")")/etc"
-source "${CONFIG_DIR}/dbscripts.d/db-functions.cfg"
-source "${CONFIG_DIR}/dbscripts.d/main.cfg"
-source "${CONFIG_DIR}/dbscripts.cfg"
+source "${CONFIG_DIR}/xbs.cfg"
+source "${SHARE_DIR}/db-functions"
db-init_usage() {
msg "usage: %s [platform1 platform2 ... platformX]" "${0##*/}"