1
0
This commit is contained in:
2023-09-18 10:56:27 +08:00
parent e24e5e3e6a
commit 871552e430

View File

@@ -82,12 +82,12 @@ mkdir -p /opt/omc/ftp/log
#chmod +rx /usr/local/bin/*
#chmod -R 755 /usr/local/omc/htdocs/front
cd ${UsrLib64Dir}
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
if [ ! -e libwireshark.so.15 ]; then ln -s libwireshark.so.15.0.12 libwireshark.so.15; fi
if [ ! -e libwireshark.so ]; then ln -s libwireshark.so.15.0.12 libwireshark.so; fi
if [ ! -e libwiretap.so.12 ]; then ln -s libwiretap.so.12.0.12 libwiretap.so.12; 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 ]; then ln -s libwsutil.so.13.1.0 libwsutil.so; fi
systemctl daemon-reload
systemctl enable restagent.service
systemctl enable crontask.service