This commit is contained in:
simonzhangsz committed 2023-09-16 15:03:57 +08:00
1 parent 1784c2f655
commit 3615eea94d
1 file changed
+3
+3
View File
@@ -97,6 +97,7 @@ systemctl enable adb.service
# 卸载时执行
%postun
UsrLib64Dir=/usr/lib64
if [ "$1" = "0" ] ; then
systemctl stop restagent.service
systemctl stop crontask.service
@@ -111,6 +112,7 @@ systemctl disable sshsvc.service
systemctl disable captrace.service
systemctl disable adb.service
systemctl daemon-reload
cd ${UsrLib64Dir}
rm libwireshark.so.15
rm libwireshark.so
rm libwiretap.so.12
@@ -125,6 +127,7 @@ systemctl restart restagent.service
systemctl restart crontask.service
systemctl restart sshsvc.service
systemctl restart captrace.service
cd ${UsrLib64Dir}
rm libwireshark.so.15
rm libwireshark.so
rm libwiretap.so.12