918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | echo -e >> $OGLOGFILE |
---|
4 | echo "Contenido de la ejecucion: *****************************" >> $OGLOGFILE |
---|
5 | cat $1 >> $OGLOGFILE |
---|
6 | echo -e >> $OGLOGFILE |
---|
7 | echo -e >> $OGLOGFILE |
---|
8 | echo "Salida: *****************************" >> $OGLOGFILE |
---|
9 | chmod +x $1 |
---|
10 | $1 &>> $OGLOGFILE |
---|
11 | RETVAL=$? |
---|
12 | echo $RETVAL &>> $OGLOGFILE |
---|
13 | |
---|
14 | if [ $RETVAL == 0 ] |
---|
15 | then |
---|
16 | rm $OGLOGFILE |
---|
17 | touch $OGLOGFILE |
---|
18 | else |
---|
19 | echo $RETVAL &>> $OGLOGFILE |
---|
20 | fi |
---|
21 | exit $RETVAL |
---|
Note: See
TracBrowser
for help on using the repository browser.