From 30353d571d1a421bae9cafbf003022f96d9e02e5 Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Thu, 7 Aug 2014 11:42:38 +0000
Subject: [PATCH] kill_epc.bash script generated

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5679 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash b/targets/PROJECTS/GENERIC-LTE-EPC/start_epc.bash
index 2b479aaec1c..1e8593e45ca 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)
-- 
GitLab