From 8a77a4d5e741098aff93d7dd51dbce4b39b600f4 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 7 Nov 2008 14:30:25 +0000 Subject: [PATCH] ebl Modify startup script to handle a different install location git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8010 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/scripts/prepare-other-loc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 regress/scripts/prepare-other-loc diff --git a/regress/scripts/prepare-other-loc b/regress/scripts/prepare-other-loc new file mode 100755 index 0000000000..6b64b579e8 --- /dev/null +++ b/regress/scripts/prepare-other-loc @@ -0,0 +1,14 @@ +#!/bin/sh + +. scripts/functions + +SCR=$cwd/bin/bacula-ctl +sed "s:BACDIRBIN=$cwd/bin:BACDIRBIN=/opt/bacula:" $SCR-dir > tmp/1 +mv tmp/1 $SCR-dir +se d -i "s:BACSDBIN=$cwd/bin:BACSDBIN=/opt/bacula:" $SCR-sd > tmp/1 +mv tm p/1 $SCR-sd +sed -i "s:BACFDBIN=$cwd/bin:BACFDBIN=/opt/bacula:" $SCR-fd > tmp/1 +mv tmp/1 $SCR-fd +chmod -x $cwd/bin/bacula-{fd,sd,dir} $cwd/bin/bconsole +chmod +x $SCR-* + -- 2.39.5