diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash b/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash index 2b479aaec1caf5f8a9454dfadd4b15ae77dc72ff..1e8593e45cad8b8b384d056c5f4c4077411f1f28 100755 --- a/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash +++ b/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash @@ -327,6 +327,13 @@ PCAP_S6A_LOG_FILE=tshark_mme_s6a.$HOSTNAME.pcap #rotate_log_file $THIS_SCRIPT_PATH/OUTPUT/$HOSTNAME/$PCAP_S6A_LOG_FILE + +touch $THIS_SCRIPT_PATH/kill_epc.bash +echo '#!/bin/bash' > $THIS_SCRIPT_PATH/kill_epc.bash +echo "pkill -P $$" >> $THIS_SCRIPT_PATH/kill_epc.bash +chmod 777 $THIS_SCRIPT_PATH/kill_epc.bash + + trap control_c SIGINT HSS_IP=$(get_ip hss.eur)