d
This commit is contained in:
@@ -4,6 +4,9 @@ RedisConfDir=/usr/local/db/bin/conf
|
|||||||
OMCEtcDir=/usr/local/omc/etc
|
OMCEtcDir=/usr/local/omc/etc
|
||||||
FERootDir=/usr/local/omc/htdocs/front
|
FERootDir=/usr/local/omc/htdocs/front
|
||||||
X86Lib64Dir=/lib/x86_64-linux-gnu
|
X86Lib64Dir=/lib/x86_64-linux-gnu
|
||||||
|
OmcBinDir=/usr/local/omc/bin
|
||||||
|
UsrLocalBinDir=/usr/local/bin
|
||||||
|
OmcDaemon=omcd
|
||||||
CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
@@ -27,6 +30,8 @@ if [ ! -e libwiretap.so ]; then ln -s libwiretap.so.12.0.12 libwiretap.so; fi
|
|||||||
chmod +rx libwsutil.so.13.1.0
|
chmod +rx libwsutil.so.13.1.0
|
||||||
if [ ! -e libwsutil.so.13 ]; then ln -s libwsutil.so.13.1.0 libwsutil.so.13; fi
|
if [ ! -e libwsutil.so.13 ]; then ln -s libwsutil.so.13.1.0 libwsutil.so.13; fi
|
||||||
if [ ! -e libwsutil.so ]; then ln -s libwsutil.so.13.1.0 libwsutil.so; fi
|
if [ ! -e libwsutil.so ]; then ln -s libwsutil.so.13.1.0 libwsutil.so; fi
|
||||||
|
cd ${UsrLocalBinDir}
|
||||||
|
if [ ! -e ${OmcDaemon} ]; then ln -s ${OmcDaemon} ${OmcBinDir}/omcsvc.sh; fi
|
||||||
systemctl enable restagent.service
|
systemctl enable restagent.service
|
||||||
systemctl enable crontask.service
|
systemctl enable crontask.service
|
||||||
systemctl enable sshsvc.service
|
systemctl enable sshsvc.service
|
||||||
|
|||||||
@@ -65,6 +65,9 @@ RedisConfDir=/usr/local/db/bin/conf
|
|||||||
OMCEtcDir=/usr/local/omc/etc
|
OMCEtcDir=/usr/local/omc/etc
|
||||||
FERootDir=/usr/local/omc/htdocs/front
|
FERootDir=/usr/local/omc/htdocs/front
|
||||||
UsrLib64Dir=/usr/lib64
|
UsrLib64Dir=/usr/lib64
|
||||||
|
OmcBinDir=/usr/local/omc/bin
|
||||||
|
UsrLocalBinDir=/usr/local/bin
|
||||||
|
OmcDaemon=omcd
|
||||||
CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
|
||||||
for CFile in ${CFileList}; do
|
for CFile in ${CFileList}; do
|
||||||
if [ ! -e "${OMCEtcDir}/${CFile}" ]; then
|
if [ ! -e "${OMCEtcDir}/${CFile}" ]; then
|
||||||
@@ -88,6 +91,8 @@ if [ ! -e libwiretap.so.12 ]; then ln -s libwiretap.so.12.0.12 libwiretap.so.12
|
|||||||
if [ ! -e libwiretap.so ]; then ln -s libwiretap.so.12.0.12 libwiretap.so; fi
|
if [ ! -e libwiretap.so ]; then ln -s libwiretap.so.12.0.12 libwiretap.so; fi
|
||||||
if [ ! -e libwsutil.so.13 ]; then ln -s libwsutil.so.13.1.0 libwsutil.so.13; fi
|
if [ ! -e libwsutil.so.13 ]; then ln -s libwsutil.so.13.1.0 libwsutil.so.13; fi
|
||||||
if [ ! -e libwsutil.so ]; then ln -s libwsutil.so.13.1.0 libwsutil.so; fi
|
if [ ! -e libwsutil.so ]; then ln -s libwsutil.so.13.1.0 libwsutil.so; fi
|
||||||
|
cd ${UsrLocalBinDir}
|
||||||
|
if [ ! -e ${OmcDaemon} ]; then ln -s ${OmcDaemon} ${OmcBinDir}/omcsvc.sh; fi
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable restagent.service
|
systemctl enable restagent.service
|
||||||
systemctl enable crontask.service
|
systemctl enable crontask.service
|
||||||
|
|||||||
Reference in New Issue
Block a user