d
This commit is contained in:
@@ -97,6 +97,7 @@ systemctl enable adb.service
|
|||||||
|
|
||||||
# 卸载时执行
|
# 卸载时执行
|
||||||
%postun
|
%postun
|
||||||
|
UsrLib64Dir=/usr/lib64
|
||||||
if [ "$1" = "0" ] ; then
|
if [ "$1" = "0" ] ; then
|
||||||
systemctl stop restagent.service
|
systemctl stop restagent.service
|
||||||
systemctl stop crontask.service
|
systemctl stop crontask.service
|
||||||
@@ -111,6 +112,7 @@ systemctl disable sshsvc.service
|
|||||||
systemctl disable captrace.service
|
systemctl disable captrace.service
|
||||||
systemctl disable adb.service
|
systemctl disable adb.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
|
cd ${UsrLib64Dir}
|
||||||
rm libwireshark.so.15
|
rm libwireshark.so.15
|
||||||
rm libwireshark.so
|
rm libwireshark.so
|
||||||
rm libwiretap.so.12
|
rm libwiretap.so.12
|
||||||
@@ -125,6 +127,7 @@ systemctl restart restagent.service
|
|||||||
systemctl restart crontask.service
|
systemctl restart crontask.service
|
||||||
systemctl restart sshsvc.service
|
systemctl restart sshsvc.service
|
||||||
systemctl restart captrace.service
|
systemctl restart captrace.service
|
||||||
|
cd ${UsrLib64Dir}
|
||||||
rm libwireshark.so.15
|
rm libwireshark.so.15
|
||||||
rm libwireshark.so
|
rm libwireshark.so
|
||||||
rm libwiretap.so.12
|
rm libwiretap.so.12
|
||||||
|
|||||||
Reference in New Issue
Block a user