aboutsummaryrefslogtreecommitdiffstats
path: root/update/templates/rm_olds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'update/templates/rm_olds.sh')
-rw-r--r--update/templates/rm_olds.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/update/templates/rm_olds.sh b/update/templates/rm_olds.sh
index c6bca18..6724c33 100644
--- a/update/templates/rm_olds.sh
+++ b/update/templates/rm_olds.sh
@@ -1,4 +1,12 @@
#!/bin/bash
+##############################################################################
+# Copyright (c) 2019 opnfv.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
proc_number=`ps -ef | grep opnfv-testapi | grep -v grep | wc -l`
if [ $proc_number -gt 0 ]; then