projects
/
anna.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
53c634c
)
ksh to bash
author
Eduardo Ramos Testillano
<eduardo.ramos.testillano@gmail.com>
Sun, 13 Jul 2014 10:41:07 +0000
(12:41 +0200)
committer
Eduardo Ramos Testillano
<eduardo.ramos.testillano@gmail.com>
Sun, 13 Jul 2014 10:41:07 +0000
(12:41 +0200)
18 files changed:
example/diameter/launcher/DEPLOY.sh
patch
|
blob
|
history
example/diameter/launcher/resources/answerXml.sh
patch
|
blob
|
history
example/diameter/launcher/resources/batch.sh
patch
|
blob
|
history
example/diameter/launcher/resources/burst.sh
patch
|
blob
|
history
example/diameter/launcher/resources/clientSocketManager.sh
patch
|
blob
|
history
example/diameter/launcher/resources/code.sh
patch
|
blob
|
history
example/diameter/launcher/resources/collect.sh
patch
|
blob
|
history
example/diameter/launcher/resources/data.sh
patch
|
blob
|
history
example/diameter/launcher/resources/decode.sh
patch
|
blob
|
history
example/diameter/launcher/resources/diameterServerSessions.sh
patch
|
blob
|
history
example/diameter/launcher/resources/help.sh
patch
|
blob
|
history
example/diameter/launcher/resources/loadXml.sh
patch
|
blob
|
history
example/diameter/launcher/resources/pre-start.sh
patch
|
blob
|
history
example/diameter/launcher/resources/sendXml.sh
patch
|
blob
|
history
example/diameter/launcher/resources/sms.sh
patch
|
blob
|
history
example/diameter/stackManagement/self_ruling_setups.sh
patch
|
blob
|
history
source/diameter/stack/setups/dependence.sh
patch
|
blob
|
history
source/diameter/stack/setups/flags.sh
patch
|
blob
|
history
diff --git
a/example/diameter/launcher/DEPLOY.sh
b/example/diameter/launcher/DEPLOY.sh
index
4a29575
..
c6d58f1
100755
(executable)
--- a/
example/diameter/launcher/DEPLOY.sh
+++ b/
example/diameter/launcher/DEPLOY.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
# Functions & variables
SETUPS_DIR=../../../source/diameter/stack/setups
# Functions & variables
SETUPS_DIR=../../../source/diameter/stack/setups
@@
-18,7
+18,7
@@
_exit () {
createRunScript () {
createRunScript () {
- echo "#!/bin/
k
sh" > run.sh
+ echo "#!/bin/
ba
sh" > run.sh
echo "EXE=\`cat .exe 2>/dev/null\`" >> run.sh
echo "STARTED=\`ps -fea | grep \"\$EXE\" | grep -v grep\`" >> run.sh
echo "[ \"\$EXE\" != \"\" -a \"\$STARTED\" != \"\" ] && { echo \"Already started!\"; echo \"\$STARTED\" ; exit ; }" >> run.sh
echo "EXE=\`cat .exe 2>/dev/null\`" >> run.sh
echo "STARTED=\`ps -fea | grep \"\$EXE\" | grep -v grep\`" >> run.sh
echo "[ \"\$EXE\" != \"\" -a \"\$STARTED\" != \"\" ] && { echo \"Already started!\"; echo \"\$STARTED\" ; exit ; }" >> run.sh
diff --git
a/example/diameter/launcher/resources/answerXml.sh
b/example/diameter/launcher/resources/answerXml.sh
index
451882c
..
ce4aa40
100755
(executable)
--- a/
example/diameter/launcher/resources/answerXml.sh
+++ b/
example/diameter/launcher/resources/answerXml.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/batch.sh
b/example/diameter/launcher/resources/batch.sh
index
051de1d
..
9699243
100755
(executable)
--- a/
example/diameter/launcher/resources/batch.sh
+++ b/
example/diameter/launcher/resources/batch.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/burst.sh
b/example/diameter/launcher/resources/burst.sh
index
a3b5341
..
b05b6e0
100755
(executable)
--- a/
example/diameter/launcher/resources/burst.sh
+++ b/
example/diameter/launcher/resources/burst.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/clientSocketManager.sh
b/example/diameter/launcher/resources/clientSocketManager.sh
index
225464f
..
4c801b2
100755
(executable)
--- a/
example/diameter/launcher/resources/clientSocketManager.sh
+++ b/
example/diameter/launcher/resources/clientSocketManager.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/code.sh
b/example/diameter/launcher/resources/code.sh
index
a202f3a
..
9ca200c
100755
(executable)
--- a/
example/diameter/launcher/resources/code.sh
+++ b/
example/diameter/launcher/resources/code.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/collect.sh
b/example/diameter/launcher/resources/collect.sh
index
9f556fa
..
5fb95ec
100755
(executable)
--- a/
example/diameter/launcher/resources/collect.sh
+++ b/
example/diameter/launcher/resources/collect.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/data.sh
b/example/diameter/launcher/resources/data.sh
index
f253b76
..
09949ad
100755
(executable)
--- a/
example/diameter/launcher/resources/data.sh
+++ b/
example/diameter/launcher/resources/data.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
# Generates DATA burst sequence for provided order number (1: first, 2: second, etc.)
# We will generate a simple scenario with initial, two updates and termination, that is to say: four messages:
# Generates DATA burst sequence for provided order number (1: first, 2: second, etc.)
# We will generate a simple scenario with initial, two updates and termination, that is to say: four messages:
diff --git
a/example/diameter/launcher/resources/decode.sh
b/example/diameter/launcher/resources/decode.sh
index
da9681c
..
3924f73
100755
(executable)
--- a/
example/diameter/launcher/resources/decode.sh
+++ b/
example/diameter/launcher/resources/decode.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/diameterServerSessions.sh
b/example/diameter/launcher/resources/diameterServerSessions.sh
index
340b14b
..
dc72c87
100755
(executable)
--- a/
example/diameter/launcher/resources/diameterServerSessions.sh
+++ b/
example/diameter/launcher/resources/diameterServerSessions.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/help.sh
b/example/diameter/launcher/resources/help.sh
index
42519ec
..
ebeafff
100755
(executable)
--- a/
example/diameter/launcher/resources/help.sh
+++ b/
example/diameter/launcher/resources/help.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/loadXml.sh
b/example/diameter/launcher/resources/loadXml.sh
index
c589249
..
26749d5
100755
(executable)
--- a/
example/diameter/launcher/resources/loadXml.sh
+++ b/
example/diameter/launcher/resources/loadXml.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/pre-start.sh
b/example/diameter/launcher/resources/pre-start.sh
index
24c22b9
..
e009d71
100755
(executable)
--- a/
example/diameter/launcher/resources/pre-start.sh
+++ b/
example/diameter/launcher/resources/pre-start.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
# Remove logs:
rm *.log* *.csv 2>/dev/null
# Remove logs:
rm *.log* *.csv 2>/dev/null
diff --git
a/example/diameter/launcher/resources/sendXml.sh
b/example/diameter/launcher/resources/sendXml.sh
index
d9d58e2
..
d9aaa33
100755
(executable)
--- a/
example/diameter/launcher/resources/sendXml.sh
+++ b/
example/diameter/launcher/resources/sendXml.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
> curl_log.txt
TRACE="--trace-ascii curl_log.txt"
SERVER=`cat .httpServer`
diff --git
a/example/diameter/launcher/resources/sms.sh
b/example/diameter/launcher/resources/sms.sh
index
c77b398
..
d0b1e63
100755
(executable)
--- a/
example/diameter/launcher/resources/sms.sh
+++ b/
example/diameter/launcher/resources/sms.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
# Generates SMS burst sequence for provided order number (1: first, 2: second, etc.)
SEQN=$1
# Generates SMS burst sequence for provided order number (1: first, 2: second, etc.)
SEQN=$1
diff --git
a/example/diameter/stackManagement/self_ruling_setups.sh
b/example/diameter/stackManagement/self_ruling_setups.sh
index
fc7a427
..
8b8e3fe
100755
(executable)
--- a/
example/diameter/stackManagement/self_ruling_setups.sh
+++ b/
example/diameter/stackManagement/self_ruling_setups.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
#@eramos
echo
echo "This script builds autonomous diameter stack ditionaries for current stack commands"
#@eramos
echo
echo "This script builds autonomous diameter stack ditionaries for current stack commands"
diff --git
a/source/diameter/stack/setups/dependence.sh
b/source/diameter/stack/setups/dependence.sh
index
5dbbbfc
..
d9b53d5
100755
(executable)
--- a/
source/diameter/stack/setups/dependence.sh
+++ b/
source/diameter/stack/setups/dependence.sh
@@
-1,4
+1,4
@@
-#!/bin/
k
sh
+#!/bin/
ba
sh
quit() {
echo
quit() {
echo
diff --git
a/source/diameter/stack/setups/flags.sh
b/source/diameter/stack/setups/flags.sh
index
6002306
..
e35fac1
100755
(executable)
--- a/
source/diameter/stack/setups/flags.sh
+++ b/
source/diameter/stack/setups/flags.sh
@@
-1,5
+1,4
@@
-#!/bin/ksh
-
+#!/bin/bash
_exit() {
echo
_exit() {
echo