1
0
This commit is contained in:
2023-09-16 15:36:08 +08:00
parent 2257b8ad00
commit 6cc8fd4daf
2 changed files with 16 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
RedisConfDir=/usr/local/db/bin/conf
OMCEtcDir=/usr/local/omc/etc
FERootDir=/usr/local/omc/htdocs/front
X86Lib64Dir=/lib/x86_64-linux-gnu
CFileList="restconf.yaml crontask.yaml tasks.yaml sshsvc.yaml capconf.yaml"
echo ""
@@ -16,6 +17,13 @@ echo " or run: "
echo " sudo /usr/local/omc/bin/omcsvc.sh start/stop/restart/status"
echo ""
cd ${X86Lib64Dir}
ln -s libwireshark.so.15.0.12 libwireshark.so.15
ln -s libwireshark.so.15.0.12 libwireshark.so
ln -s libwiretap.so.12.0.12 libwiretap.so.12
ln -s libwiretap.so.12.0.12 libwiretap.so
ln -s libwsutil.so.13.1.0 libwsutil.so.13
ln -s libwsutil.so.13.1.0 libwsutil.so
systemctl enable restagent.service
systemctl enable crontask.service
systemctl enable sshsvc.service

View File

@@ -1,5 +1,13 @@
# !/bin/sh
X86Lib64Dir=/lib/x86_64-linux-gnu
cd ${X86Lib64Dir}
rm libwireshark.so.15
rm libwireshark.so
rm libwiretap.so.12
rm libwiretap.so
rm libwsutil.so.13
rm libwsutil.so
#systemctl stop nginx.service
systemctl stop restagent.service
systemctl stop crontask.service