wlan-ap-Telecominfraproject/feeds/ucentral/rrmd/files/etc/init.d/rrmd
Tanya Singh f2fec9dd87 rrmd : Update file names from /tmp dir in rrmd init script that need to be removed when rrmd (re)starts
Fixes: WIFI-14560
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
2025-04-25 08:13:22 +02:00

25 lines
360 B
Bash
Executable File

#!/bin/sh /etc/rc.common
START=99
STOP=01
USE_PROCD=1
start_service() {
rm -rf /tmp/threshold_breach_count*
rm -rf /tmp/fixed_channel*
procd_open_instance
procd_set_param command /usr/bin/rrmd.uc
procd_set_param respawn 3600 5 0
procd_close_instance
}
service_triggers() {
procd_add_reload_trigger rrm
}
reload_service() {
ubus call rrm reload
}