Commit cdc44f58 authored by Robert Anderson's avatar Robert Anderson
Browse files

cbpadmin lib and configuration path



- Correct configuration and lib paths for cbpadmin
- More detailed INSTALL instructions regarding configuration

Change-Id: Ifb5c6fa620e4536dcbb1b958c21208866ac0145f
Signed-off-by: default avatarRobert Anderson <randerson@lbsd.net>
parent a9b78014
......@@ -63,13 +63,14 @@ b. Load policyd.mysql into MySQL
$ mysql -u root -p policyd < policyd.mysql
2. Put cluebringer.conf in your /etc directory and adjust cluebringer.conf with your MySQL database details
3. Copy the cbp/ & awitpt/ directories into /usr/local/lib/policyd-2.1/
mkdir /usr/local/lib/policyd-2.1
cp -r cbp /usr/local/lib/policyd-2.1/
cp -r awitpt/awitpt /usr/local/lib/policyd-2.1/
2. Put cluebringer.conf in your /etc/cbpolicyd directory and adjust cluebringer.conf with your MySQL database details
mkdir /etc/cbpolicyd
cp cluebringer.conf /etc/cbpolicyd/cluebringer.conf
3. Copy the cbp/ & awitpt/ directories into /usr/local/lib/cbpolicyd-2.1/
mkdir /usr/local/lib/cbpolicyd-2.1
cp -r cbp /usr/local/lib/cbpolicyd-2.1/
cp -r awitpt/awitpt /usr/local/lib/cbpolicyd-2.1/
4. Copy cbpolicyd and cbpadmin into /usr/local/bin
cp cbpadmin /usr/local/bin/
......
......@@ -22,7 +22,7 @@ use strict;
use warnings;
use lib('/usr/local/lib/policyd-2.1','/usr/lib/policyd-2.1','/usr/lib64/policyd-2.1','awitpt');
use lib('/usr/local/lib/cbpolicyd-2.1','/usr/lib/cbpolicyd-2.1','/usr/lib64/cbpolicyd-2.1','awitpt');
use Config::IniFiles;
use Getopt::Long;
......@@ -52,7 +52,7 @@ if ($opts{'help'}) {
# Set defaults
my $cfg;
$cfg->{'config_file'} = "/etc/cluebringer.conf";
$cfg->{'config_file'} = "/etc/cbpolicyd/cluebringer.conf";
# Check if we must override
if (defined($opts{'config'}) && $opts{'config'} ne "") {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment