summaryrefslogtreecommitdiffstats
path: root/renew-config
diff options
context:
space:
mode:
Diffstat (limited to 'renew-config')
-rwxr-xr-xrenew-config10
1 files changed, 1 insertions, 9 deletions
diff --git a/renew-config b/renew-config
index d9abcee..4743b0f 100755
--- a/renew-config
+++ b/renew-config
@@ -1,14 +1,6 @@
#!/bin/sh
-REPO="/root/repo"
-REAL="/var/lib/bcfg2"
-OLDPWD="$(pwd)"
-
-error() {
- echo "$@" 1>&2
- cd "$OLDPWD" >/dev/null
- exit 1
-}
+. settings.sh
# pre flight checks
cd "$REPO" >/dev/null