diff options
author | adv <adv@uma.es> | 2011-02-23 17:41:35 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2011-02-23 17:41:35 +0000 |
commit | 8fc955223575738aa38cbca6c2e57f3ce2248c44 (patch) | |
tree | 008de34c83d6df4b44098e72f31eef905754f0d9 /admin/Sources/Services/ogAdmRepoAux | |
parent | 85e3040b2b9298bea6a60077c59009a2524bbdb2 (diff) |
OG 1.0 ticket:299 instalador
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1479 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Services/ogAdmRepoAux')
-rwxr-xr-x | admin/Sources/Services/ogAdmRepoAux | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/admin/Sources/Services/ogAdmRepoAux b/admin/Sources/Services/ogAdmRepoAux new file mode 100755 index 00000000..af13f093 --- /dev/null +++ b/admin/Sources/Services/ogAdmRepoAux @@ -0,0 +1,26 @@ +#!/bin/bash +PARM=`cat` + + +PARM1=$(echo $PARM | cut -f1 -d" ") +PARM2=$(echo $PARM | cut -f2 -d" ") +PARM3=$(echo $PARM | cut -f3 -d" ") +PARM4=$(echo $PARM | cut -f4 -d" ") + +echo $PARM +echo $PARM1 +echo $PARM2 +echo $PARM3 +echo $PARM4 + +case $PARM1 in + START_MULTICAST) + #1 START_MULTICAST + #2 fichero a enviar + FILE=/opt/opengnsys/images$PARM2 + MCASTOPT=$PARM3 + #3 opciones protocolo multicast + echo "/opt/opengnsys/bin/SendFileMcast $FILE $MCASTOPT" + /opt/opengnsys/bin/sendFileMcast $FILE $MCASTOPT + ;; +esac
\ No newline at end of file |