Commit f3e30bff authored by Victor Kotlyar's avatar Victor Kotlyar
Browse files

Fix configuration path for cta-rmcd and cta-smc

parent d7ebbf12
......@@ -55,7 +55,7 @@ setenv RMC_PORT 5014
.RE
.LP
an entry in
.B /etc/castor/castor.conf
.B /etc/cta/cta-rmcd.conf
like:
.RS
.HP
......
......@@ -34,7 +34,7 @@
#include <sys/stat.h>
#include "rmc_send_scsi_cmd.h"
#define PATH_CONF "cta-rmcd.conf"
#define PATH_CONF "/etc/cta/cta-rmcd.conf"
/* Forward declaration */
static int rmc_getreq(const int s, int *const req_type, char *const req_data,
......
......@@ -25,7 +25,7 @@
#include "smc_constants.h"
#define RBT_XTRA_PROC 10
#define PATH_CONF "cta-smc.conf"
#define PATH_CONF "/etc/cta/cta-smc.conf"
static struct smc_status smc_status;
static const char *smc_msgaddr;
......
......@@ -17,7 +17,7 @@
#include "rmc_constants.h"
#include "serrno.h"
#define PATH_CONF "cta-rmcd.conf"
#define PATH_CONF "/etc/cta/cta-rmcd.conf"
/* send2tpd - send a request to the SCSI media changer server and wait for the reply */
int send2rmc(
......
......@@ -20,7 +20,7 @@
/* exit codes */
#define USERR 1
#define PATH_CONF "cta-smc.conf"
#define PATH_CONF "/etc/cta/cta-smc.conf"
#define TEXT_RED "\x1b[31;1m"
#define TEXT_NORMAL "\x1b[0m"
......
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