Skip to content

Commit cf0bd0b

Browse files
committed
disable acotel agent
[ci skip]
1 parent d736e41 commit cf0bd0b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

decompressed/gui_file/usr/share/transformer/scripts/ispConfigHelper.sh

+5
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ purify_from_tim() {
1414
uci -q del network.wan_ipv6
1515
uci -q del dhcp.dnsmasq.server
1616
restart_dnsmasq=1
17+
if [ $(uci get -q system.acotel.enabled) ] && [ "$(uci get -q system.acotel.enabled)" != "0" ]; then
18+
logecho "Disabling and killing Acotel agent..."
19+
uci set system.acotel.enabled='0'
20+
kill -9 "$(ps | grep Acotel | grep -v grep | cut -d' ' -f1)"
21+
fi
1722
}
1823

1924
firewall_specific_sip_rules_FASTWEB() {

0 commit comments

Comments
 (0)