commit 02a66e5c6d92c39988f19bb927615ba7ce25a888 Author: Sistema de Diagnóstico Instantâneo Date: Tue Nov 10 10:13:30 2009 -0200 Don't save number of hosts in a state. This will be made by the javascript. This change intends to prevent counting errors and decrease the server load. Signed-off-by: Diego Giovane Pasqualin Signed-off-by: Vinicius Ruoso commit bf77318b7c6f3dd8d696bb0a479354c5b2325178 Author: Vinicius Ruoso Date: Mon Nov 9 11:08:57 2009 -0200 sdi.js: added auto discover on the the number of hosts in a state The javascript will find out the number of hosts in some state and display it on the top info. This will prevent some mistakes when SDI calculates the number of hosts in some state. The javascript will replace the "%d" string with the number of hosts on that state. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 9f2a077050cc6adb864893bcd092bad9c66af9f1 Author: Diego Giovane Pasqualin Date: Wed Aug 26 11:35:57 2009 -0300 launchscripts: reading from sdi.conf just the necessary options Signed-off-by: Diego Giovane Pasqualin commit 336e8a512ae7b8730678a2bc55f89bc1ad2386cc Author: Diego Giovane Pasqualin Date: Wed Aug 26 11:33:38 2009 -0300 launchscripts: use CMDGENERAL conf variable instead of CMDDIR/general Signed-off-by: Diego Giovane Pasqualin commit de9d881e21a9c2bb15b81ff5bf7bd08d96493ebb Author: Diego Giovane Pasqualin Date: Wed Aug 26 12:15:49 2009 -0300 configparser.py: write back sdi.conf if it does not exist Signed-off-by: Diego Giovane Pasqualin commit 483f2f6f7e033a1e47c7a68cbfe6d89f867c965e Author: Diego Giovane Pasqualin Date: Wed Aug 26 12:14:41 2009 -0300 configparser.py: returns default config even if sdi.conf does not exist Signed-off-by: Diego Giovane Pasqualin commit fb00d327ce2055e508dbce1234a8fce45b3b2f93 Author: Vinicius Ruoso Date: Thu Aug 27 15:49:06 2009 -0300 Simplified the logic when cheking if sendfile daemon is running Now when sendfile daemon are running, the output message will be: "already running, done", just like states daemon launch. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit a7d41db0ea5debf22f17ec010d544bd691d6aea7 Author: Vinicius Ruoso Date: Thu Aug 27 15:38:59 2009 -0300 Fixed states.sh problem when relaunching sdi The recreation of states fifo was being performed every time the states.sh script was called. If some state daemon was already running, the fifo will be recreating and the daemon will be stalled. Changing the fifo recreation proccess to right before the real launch of the states daemon will prevent this to happen. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 143ef70dab7313c5e451426db5b33a4f54f98757 Author: Vinicius Ruoso Date: Thu Aug 27 15:38:58 2009 -0300 Changed the file name of pid on sendfile daemon Now the pid file name is more specific to it proposal. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit d9879e516ed20155baac2049abeb34d8545a5ac2 Author: Vinicius Ruoso Date: Thu Aug 27 15:38:57 2009 -0300 Changed the file name of pid on states daemon Now the pid file name is more specific to it proposal. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 110df1b4b5126523d81022a6f212fec27af29d76 Author: Edson Ramiro Date: Thu Aug 27 14:01:54 2009 -0300 parser.sh: Added test to check if there is command.po in commands-available The function PARSER tries to execute the 'command.po' without even checking if it exists. If the shell is being interpreted by dash and there isn't the command in commands-available the PARSER break waiting an answer from the 'command.po'. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit f42c1e44a70a26f854b4655010807123a0039334 Author: Edson Ramiro Date: Thu Aug 27 14:01:53 2009 -0300 launchsdi.sh: Using the $CORESHELL var instead bash The interpreter is now defined in sdi.conf by 'core shell'. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit aa086cd622fe66ced76469bf0fa3532b5a8ad3d9 Author: Edson Ramiro Date: Thu Aug 27 14:01:51 2009 -0300 launchsditunnel.sh: Took ':' off because dash doesn't know this command Part of the adaptation to the POSIX Standard. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit e5ae4e13d103d3e12e7e6a5799ffdd499e23cf9e Author: Diego Giovane Pasqualin Date: Fri Aug 28 11:20:00 2009 -0300 sdi.conf: Added 'core shell' variable Added 'core shell' variable which will define what interpreter the user want to use to run his scripts. Because this var some files form a dependence tree which must continue POSIX to not break SDI. Default value is dash. commit 358257145e415983fd606ec201f0494d56e2dc7d Author: Ricardo Tavares de Oliveira Date: Thu Aug 27 09:14:07 2009 -0300 lauchsditunnel.sh: Sourcing modules instead calling them To avoid the creation of bash forks, we are sourcing the modules and calling them as functions. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit 366738eff20e1c8d982f90dcb1d3d10eb7f06d95 Author: Ricardo Tavares de Oliveira Date: Thu Aug 27 09:14:06 2009 -0300 ssh.sh, cat.sh: Changed default modules into functions We changed the default send and receive modules into functions, since they will be sourced my lauchsditunnel.sh, avoiding creating some others bash forks. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit d730c23ee09cd4d57a6d05cd805c84f57d9a14e1 Author: Edson Ramiro Date: Wed Aug 26 15:49:11 2009 -0300 commands-available/uptime.po: Using test command to evaluate 'if' expression Part of the adaptation to the POSIX standard. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 6909ac652da877da7cb72638f55e8c376ebc326a Author: Edson Ramiro Date: Wed Aug 26 15:49:10 2009 -0300 commands-available/common: Using test command to evaluate 'while' expression Part of the adaptation to the POSIX standard. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 8393e1ba6870c60984f0f184ba2532fb20c32c0d Author: Edson Ramiro Date: Wed Aug 26 15:49:09 2009 -0300 commands-available/common: Using test command to evaluate 'if' expression Part of the adaptation to the POSIX standard. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 0f046e939b273447b8591758d6970e11a024a693 Author: Edson Ramiro Date: Wed Aug 26 15:49:07 2009 -0300 commands-available/uptime.po: Using dollar to do arithmetic evaluation Using a dollar to do arithmetic evaluations to satisfy the POSIX standard Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit c2fff3e0672b707a44de01ddb7842ced28b3a5ec Author: Edson Ramiro Date: Wed Aug 26 15:49:06 2009 -0300 commands-available/uptime: Using dollar to do arithmetic evaluation Using a dollar to do arithmetic evaluations to satisfy the POSIX standard Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 96846f32140f0a4908ab9c645e32253c7ac64457 Author: Edson Ramiro Date: Wed Aug 26 15:49:05 2009 -0300 commands-available/uptime.po: Removed here-strings to use pipes The 'here-string' redirections became pipes to satisfy the POSIX style Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 067fd0748ddb62220bad9978c41ed1d220ed155a Author: Edson Ramiro Date: Wed Aug 26 15:49:04 2009 -0300 commands-available/loadavg.po: Removed here-strings to use pipes The 'here-string' redirections became pipes to satisfy the POSIX style Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 3b414733e4cc58bedf56ac573c6e9cb63a689d2e Author: Edson Ramiro Date: Wed Aug 26 15:49:03 2009 -0300 commands-available/loadavg: Removed 'function' tag to declare functions Part of the adaptation to the POSIX Stardart. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 29eb32049624c3d620d2e71e9deed91acee467cf Author: Edson Ramiro Date: Wed Aug 26 15:49:02 2009 -0300 commands-available/common: Removed 'function' tag to declare functions Part of the adaptation to the POSIX Stardart. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 51a14d1e6e7cc09c9413181b87e16ee2141e742d Author: Edson Ramiro Date: Wed Aug 26 15:26:43 2009 -0300 launchsditunnel.sh: fix defination of $RANDOM Some shells doesn't define the $RANDOM var. Thus we are getting random numbers from date (nanoseconds) and definig $RANDOM. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 2490b553160cf0edbc06a34845a07c3e14adb542 Author: Vinicius Ruoso Date: Wed Aug 26 12:46:52 2009 -0300 Updated hostsrunning and hoststoopen variables to upper case Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 722f85d9e9a54ce972d92e69605f5569dc519340 Author: Vinicius Ruoso Date: Wed Aug 26 12:46:51 2009 -0300 Added support to launch new tunnels when sdi is already running This will allow users to add hosts to some class and simply ask sdi to start (./sdictl --start). It will automatically launch tunnels to the hosts that doesn't have a tunnel open. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit d89590f9c2106082ef1f714b0be1f54e9e298ca7 Author: Edson Ramiro Date: Wed Aug 26 12:28:35 2009 -0300 states.sh: Using dollar to do arithmetic evaluation Using dollar to do arithmetic evaluations to satisfy the POSIX standard Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 67b1535be1d51393f2ce7652e2ad326bf4e0e7d2 Author: Edson Ramiro Date: Wed Aug 26 12:28:32 2009 -0300 launchsditunnel.sh: Using dollar to do arithmetic evaluation Using a dollar to do arithmetic evaluations to satisfy the POSIX standard Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 2944f224d42b1eccdd6dcaee299a0261b1fe149c Author: Edson Ramiro Date: Wed Aug 26 12:28:31 2009 -0300 launchsditunnel.sh: Cron array became a variable To satisfy the POSIX standard the cron array became a variable and we are concatenating the variable to build the cron configuration. See the sample below: cron="" cron="$cron\n" Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 1e9d47a511d11183cf099e5e5cc4905e8b94c154 Author: Edson Ramiro Date: Wed Aug 26 12:28:30 2009 -0300 parser.sh: Using -eq instead '==' This is part of the adaptation to the POSIX standard. The '==' syntax isn't POSIX. See bash manual. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 386aab40aeaaef1e0b12e52aadafbad2e509b083 Author: Edson Ramiro Date: Wed Aug 26 12:28:29 2009 -0300 launchsditunnel.sh: Using '=' to compare instead '==' The `==' syntax isn't POSIX. See bash manual. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 159a3034fc771dce9a320258c5dd429550ad9eeb Author: Vinicius Ruoso Date: Wed Aug 26 12:21:28 2009 -0300 Added some lines to a better view of sdi launching info It will be easier to view the sdi launching information, because some lines will be separating all classes log. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 87dd5bcffa957917c21f42ab92996eaa88d59721 Author: Vinicius Ruoso Date: Wed Aug 26 12:21:27 2009 -0300 Added message when sendfile daemon is running when launching sdi This will allow the user to known when the sendfile daemon is launched. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 7de57d906ad0926a61cf873a259d72a248075007 Author: Vinicius Ruoso Date: Fri Aug 21 22:24:49 2009 -0300 Changed the way we discover if a host belong to a state Before, every state change we was using a grep to find out if a host was on some state. This is very expensive. The new way to do this, is to hold a folder to each state with empty files in there, where the file name represent the host name. With this modification we expect to get a better performance on states changes. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit b3ee8f74e3a20e8d2019584ad7555bfb5f3f59d8 Author: Vinicius Ruoso Date: Fri Aug 21 22:24:48 2009 -0300 parser.sh: removed 1 trailing space Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 92bbe4351363b1f18f4b4e2b8060104377467ff4 Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:34 2009 -0300 modules/*: Added default modules to send and receive information Instead using always a ssh tunnel, we are letting the user to choose or write a program able to send and receive information. We are adding default modules to do this. Those modules do exactly the same ssh tunnel we were using until now. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit 14a6a412fb307b0e60d07951eca2854976932a21 Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:39 2009 -0300 launchsditunnel.sh: Opening the tunnel with the sender and receiver defined We are now opening the tunnel to the host through the sender and receiver defined to that host, instead using always a ssh tunnel. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit 08c0d824df7c82f2d62881e8417f44ae2778292e Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:36 2009 -0300 sdi.conf: Added options about send and receive modules Some new options can be set with sdi.conf. The user can set send and receive folder and default applications. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit 21fceae12ffa97127a51b21c9ac088583101f586 Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:38 2009 -0300 launchsdi.sh: Calling launchsditunnel.sh defining the CLASS variable We are calling launchsditunnel.sh with the CLASS variable definied, which will contain the class that the hosts belongs to. Also, we are defining the format HOST:SEND:RECEIVE in the class files, where SEND and RECEIVE will be the send and receive application used by the HOST under send and receive dir, or blank, meaning that host will use the default ones. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit c3b01b6c65a15ab411821d697bc745c6463d12cf Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:37 2009 -0300 sdi.conf: Removed ssh options We removed ssh options from sdi.conf, since this configuration is now made by the send module. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit f51832a25b08266d343250346af5dc300278d7c3 Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:35 2009 -0300 configsdiparser.py: Added options about modules in the parser Added options to the parser of sdi.conf. This will allow new options to be set in sdi.conf, about modules. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit 54ac66b87fed7bb283e4586318aadb765f879983 Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:33 2009 -0300 configsdiparser.py: Altered to receive the conf file path as an argument configsdiparser.py is now receiving the configuration file path as an argument. This will allow the program to parse any .conf file. Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit 3633bfd8c56cd196dfaa75294137386c8e130920 Author: Ricardo Tavares de Oliveira Date: Tue Aug 11 14:21:32 2009 -0300 sdi.conf: Using %(prefix)s instead /root/sdi/ as default folder Using %(prefix)s instead /root/sdi/ as default folder Signed-off-by: Ricardo Tavares de Oliveira Signed-off-by: Diego Giovane Pasqualin commit 50ced482850ab4b2914252821b360edbdd159967 Author: Edson Ramiro Date: Tue Aug 11 14:07:43 2009 -0300 launchsditunnel.sh: Removed here-strings to use pipes The 'here-string' redirections became pipes to satisfy the POSIX style Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit d3628f5b65444d0f506a0c523bde091a5a747ca8 Author: Edson Ramiro Date: Tue Aug 11 14:07:46 2009 -0300 parser.sh: Replaced `source' command to `.' The `source' command was replaced to `.' to satisfy the POSIX style Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 4da87fc8c5d3604d0f284a6ea536b90070de8565 Author: Edson Ramiro Date: Tue Aug 11 14:07:44 2009 -0300 parser.sh: Removed here-strings to use pipes The 'here-string' redirections became pipes to satisfy the POSIX style Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit fdde712cea37ad155d995bdfef21fe21ee0c0da0 Author: Edson Ramiro Date: Tue Aug 11 14:07:45 2009 -0300 launchsditunnel.sh: Replaced `source' command to `.' The `source' command was replaced to `.' to satisfy the POSIX style Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 831e937a33b90fefc90b7a12ee44cb3b01931598 Author: Diego Giovane Pasqualin Date: Mon Aug 10 20:05:57 2009 -0300 Remove socketclient binary file from repository All binary files must be created using make(1) command. commit 8614a9a1a7ce395f55f3a86cc9ea851d4180859f Author: Diego Giovane Pasqualin Date: Mon Aug 10 12:49:32 2009 -0300 configparser.py: created load_default_conf function This change allow python scripts to get default values for config variables. Also aims to improve the visualization and make the code more modulate. Signed-off-by: Diego Giovane Pasqualin Signed-off-by: Ricardo Tavares de Oliveira commit 7a78af171f660c3fdc36c85454aaf7fd79787d2e Author: Diego Giovane Pasqualin Date: Mon Aug 10 12:49:31 2009 -0300 configparser.py: created sshopts_to_posix function This change aims to improve the visualization and make the code more modulate Signed-off-by: Diego Giovane Pasqualin Signed-off-by: Ricardo Tavares de Oliveira commit 8438476238c21705cfa6068f6a9fd3fadb8c5b03 Author: Diego Giovane Pasqualin Date: Mon Aug 10 12:49:30 2009 -0300 configparser.py: fix error when opening ssh tunnels The quotation marks in ssh options can cause errors of interpretation by the shell, so that the ssh tunnels are not open correctly. Signed-off-by: Diego Giovane Pasqualin Signed-off-by: Ricardo Tavares de Oliveira commit c2f7f8bbcaf30a805e3995c18aa14bbc1a19b4fc Author: Vinicius Ruoso Date: Thu Aug 6 13:05:59 2009 -0300 Fix use of "/" character on table names and id This is necessary because with the new way of generating summaries will call the createtablestruct function with possibles TIDs with "/" character. We need to add to documentation that a STITLE variable can't have the character "#". Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit c9cd21107f76f62c0ddb8bccea1eb5d6b797fd68 Author: Vinicius Ruoso Date: Thu Aug 6 13:05:58 2009 -0300 Fix summary generation process When some combination of states are loaded from multiple summaries, in some cases one state can be added to another summarie. This is fixed unseting the STATES variable before each source. Signed-off-by: Vinicius Ruoso Signed-off-by: Diego Giovane Pasqualin commit 40d2372694bf472489445fef87c7de8a609621cc Author: Diego Giovane Pasqualin Date: Thu Aug 6 12:56:01 2009 -0300 configsdiparser.py: transforms sshopts array into a string These changes are part of migration to POSIX style. commit 7360f206086a74880ad88ca6f253cea58169924c Author: Diego Giovane Pasqualin Date: Thu Aug 6 11:27:08 2009 -0300 Fix error when loading "data" section in configsdiparser.py commit 2a6f356f641f7fe98613ff927e841231d52adb5e Author: Edson Ramiro Date: Wed Aug 5 17:17:24 2009 -0300 uptime.po: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 559a15d53d46daa91c8cc924644faec0f922d096 Author: Edson Ramiro Date: Wed Aug 5 17:17:29 2009 -0300 misc.sh: asking for general config section instead all Changed the call for 'all' section to 'general' config section because this script just need the general section. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit c59fdaa928d3a7c740849e1aa23b291764bbbcc8 Author: Edson Ramiro Date: Wed Aug 5 17:17:28 2009 -0300 sendfile.sh: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 6254125a6f630ebfc17641df6300730c107ad75a Author: Edson Ramiro Date: Wed Aug 5 17:17:27 2009 -0300 parser.sh: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 0ec4cd3afa9059d8f33af2adc1b412ce23f4b7a4 Author: Edson Ramiro Date: Wed Aug 5 17:17:26 2009 -0300 misc.sh: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit a156219488454df921b4332f745482de44e400bc Author: Edson Ramiro Date: Wed Aug 5 17:17:25 2009 -0300 launchsditunnel.sh: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit f350e856e650a15db734f438fd964f927f102700 Author: Edson Ramiro Date: Wed Aug 5 17:17:23 2009 -0300 status.po: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit b88659161187b7b92774844920e520fe88a25f05 Author: Edson Ramiro Date: Wed Aug 5 17:17:22 2009 -0300 rammemory.po: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 64537527969134fb23353147074d8e89d40a4720 Author: Edson Ramiro Date: Wed Aug 5 17:17:20 2009 -0300 common.po: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 5e267ca4151ddb7b625574497740441d27c88dc7 Author: Edson Ramiro Date: Wed Aug 5 17:17:21 2009 -0300 loadavg.po: fix function definition to POSIX These changes are part of migration to POSIX style. This commit removes 'function' word from functions definitions in this script. Signed-off-by: Edson Ramiro Signed-off-by: Diego Giovane Pasqualin commit 8ce4e7068df35e5d63e49153182745a6cb0e015a Author: Diego Giovane Pasqualin Date: Wed Aug 5 15:58:30 2009 -0300 sdi.conf: Move "data dir" config var to [data] section commit 10b2f483b343e2745ef39865a9f577785582b5ee Author: Diego Giovane Pasqualin Date: Wed Aug 5 15:50:17 2009 -0300 Extends prefix variable to all sections in confiparser.py This change allow user to user "%(prefix)s" expansion in wwwdir section, for example. commit fa458bc26443ee5fc23b45e905463a3da93cb80f Author: Vinicius Ruoso Date: Tue Aug 4 20:35:26 2009 -0300 Fixed crontab update when adding launchscripts and sync In some cases the crontab data was lost. Now it always get the old crontab info to be appended to the new one. Signed-off-by: Vinicius Ruoso commit 99c106265a52f4489d20da97f42488271fe47288 Author: Vinicius Ruoso Date: Mon Aug 3 10:32:32 2009 -0300 sdictl: added auto data sync when stopping or restarting sdi Signed-off-by: Vinicius Ruoso commit c59517c57fc1ae7e6f68e1f7fa630067a9786edf Author: Vinicius Ruoso Date: Mon Aug 3 10:32:31 2009 -0300 sdictl: added option --sync-data This option will call the sync.sh script to syncronize the fast data dir with the data dir. This option will be used on crontab to automatically syncronize those directories. Signed-off-by: Vinicius Ruoso commit 6f2fdb05c31f0fb45493ab67edeb3390bb092336 Author: Vinicius Ruoso Date: Mon Aug 3 10:32:30 2009 -0300 Added support to allow user to specify a fast directory to data On configsdiparser.py some new variables has been added to allow the system administrator to specify a fast directory (usually the RAM memory). The launchsdi and launchsditunnel scripts have been modified in order to follow those variables defined. The launchsdi script just make sure the fast directory are created and usable, and the launchsditunnel script will add a new entry on crontab if the use of fast directory is enabled. Also, a sync script has been added to syncronize data between fast data directory and the data directory. This script will create the data directories based on the content of "data history format" variable. With this feature, the log rotation are automaticaly made. Signed-off-by: Vinicius Ruoso commit d1f3207229046f8b164f9121518e6621f385fe0a Author: Vinicius Ruoso Date: Fri Jul 17 16:02:01 2009 -0300 Fixed summaries columns selection When selecting columns to be displayed on a summary table, all the table was moved below the selection menu. This was happening because all the page structure was being created via javascript, what was (by a unknown reason) causing this problem. Moving the table structure creation process to generatesummary script, the problem was solved. That javascript code better now, because it will create less document elements. Signed-off-by: Vinicius Ruoso commit e30a67cd8f20fb85aedab6433a1702f70bfc7051 Author: Vinicius Ruoso Date: Thu Jul 16 15:15:47 2009 -0300 sdictl: renamed option restart-sdi to restart Signed-off-by: Vinicius Ruoso commit 6f2b01f2128b7bdc9f4d69c0f873f46640b8b3ba Author: Vinicius Ruoso Date: Thu Jul 16 15:15:46 2009 -0300 sdictl: fixed problem when requesting a restart When sdictl was called using --restart-sdi option, the sdi was stopped but never restarted. This commit will apply the correct behavior to this option. Signed-off-by: Vinicius Ruoso commit cef13b8656a03c9c02beeffda2f372c0224e3c55 Author: Diego Giovane Pasqualin Date: Mon Jul 13 16:52:05 2009 -0300 launchsdi.sh: Fix missing $PREFIX at script call commit 8c619c8cb9a16baf75d5c4c14aaa4576062e7c11 Author: Diego Giovane Pasqualin Date: Mon Apr 27 19:36:14 2009 -0300 socketdaemon.py: remove all trailing spaces commit d59f67259de2c2b691f81245d8d500b130697226 Author: Diego Giovane Pasqualin Date: Wed Apr 22 16:43:38 2009 -0300 Added Makefile This Makefile compiles socketclient.c source code. commit 3908ff84069d26f4e9e1e3cab3ed0a106a6efa42 Author: Diego Giovane Pasqualin Date: Tue Apr 14 13:46:01 2009 -0300 socketdaemon.py: added REUSEADDR option to socket connection This option allow the socketdaemon.py to reuse the socket address immediately after some crash or an inesperable death commit 8482e7d481688978219d1113b04bf6b06523d56a Author: Diego Giovane Pasqualin Date: Tue Apr 14 13:42:23 2009 -0300 socketdaemon.py: fix 'rem' option This feature is responsable to decrease the number os simultaneous PARSE() function running at the same time. commit daccb7dc553a79fad53824906951bb0a6846eef4 Author: Vinicius Ruoso Date: Thu Apr 2 11:11:31 2009 -0300 Fixed prefix when getting default configuration When executing scripts that need the SDI configuration file, but the command haven't been trigered on SDI main directory, the configsdiparser script wasn't returning a correct result. Signed-off-by: Vinicius Ruoso commit 140654d2969f56103594485dd434b8840719ec09 Author: Vinicius Ruoso Date: Wed Apr 1 10:53:00 2009 -0300 Added redirection of stderr on unset When using unset, some functions names will not be correctly unseted. We leave the state name decision to the user. Signed-off-by: Vinicius Ruoso commit 29fd518b8c18bbcbfe86f3be9385713f04b6fdf1 Author: Vinicius Ruoso Date: Wed Apr 1 10:05:36 2009 -0300 Fixed program execution when some state fail to load When generating states structure, if the state function can't be called using {state_name}_getstateinfo we should abort the SDI launching process, because if a summary use this state it will be broken. Signed-off-by: Vinicius Ruoso commit 22b8dc3eed5bd5cad3d2aac99d9ec2b204c87cab Author: Vinicius Ruoso Date: Thu Mar 12 09:14:29 2009 -0300 Removed old columns scripts from sdiweb Those was the old scripts used by SDI, but now they are no longer necessary. Signed-off-by: Vinicius Ruoso commit 9311ef38a00367ff0046ed8094608c1a8d526594 Author: Vinicius Ruoso Date: Wed Mar 11 10:52:18 2009 -0300 Added redirection of standard error to avoid undesirable messages When getting out from a ssh connection, SDI try to kill the tunnel tail command. Sometimes, this tail is already dead and the kill command return an error, which shouldn't be showed. Signed-off-by: Vinicius Ruoso commit 328f4dc99d771da4b0b42295d55f416f4c646d71 Author: Vinicius Ruoso Date: Wed Mar 11 10:52:17 2009 -0300 Removed nasty debug messages The parser.sh debug message was putting all coming messages to SDI log file, what's not a good behavior. Also, the closefifo function was repporting when a fifo is closed. Signed-off-by: Vinicius Ruoso commit 8dbb4765ad6c2c4eacb65f5e7c8166667130e33f Merge: f1a021e... 0cd3c37... Author: Diego Giovane Pasqualin Date: Mon Mar 9 11:33:17 2009 -0300 Merge branch 'next' Conflicts: launchsdi.sh launchsditunnel.sh sdiweb/generatewebfiles.sh commit 0cd3c37253d1f6be7b115e445dd69f89d73e10a2 Author: Vinicius Ruoso Date: Tue Mar 3 10:55:00 2009 -0300 Moved web pages generation process to sdiweb When launching SDI the class specific web files are created just before launch all connections to this class. What happens is that some tunnels could have already launched, decreasing the performance of web files creation. Moving all the creation proccess before all tunnels launching will decrease the launching time. This is a concept change too. Some tests with a empty machine on 74 hosts showed a little better performance, but we expect that ona loaded machine with more hosts the speed will be significantly improved. Signed-off-by: Vinicius Ruoso commit d1b0885a149deba832484b8000a474f2a7d00be9 Author: Vinicius Ruoso Date: Mon Mar 2 14:56:34 2009 -0300 Fix savestate() dependent files to the new model Some scripts have tight relations with SDI states feature. The savestate function has been largely upgraded, implying some modifications on related files. The option --reload-states has been added to launchsditunnel. This option will send a signal to savestate function that will reload the states files. Also, the killing process has been updated to correctly wait the savestate() finish. The launchsdi script has been updated to correctly call the state getstateinfo function. All the default states files has been updated to have function names like {state_name}_getstateinfo. Signed-off-by: Vinicius Ruoso commit f4c13537707eec8497e52154fb26a7bd4da88996 Author: Vinicius Ruoso Date: Mon Mar 2 14:56:33 2009 -0300 Rewrite savestate() idea to reduce sources on states files When running one savestate function the number of sources on states files are one per state set. If there's 2000 hosts with one script that every hour set six states, the number of sources will be 12000 per hour. With this commit we only source the state file once on SDI, and on demand. For example, with 2000 hosts and one script that set six states, the first time a state set request comes to savestate, it will source the state file but in the next hour this source will not be necessary anymore. This will reduce 12000 disk access on each hour. Signed-off-by: Vinicius Ruoso commit 8151cbceac7928426608e74471abf7a156bc3ae7 Author: Vinicius Ruoso Date: Wed Feb 18 11:10:22 2009 -0300 Added structure to correctly control savestate function call The launchsdi.sh will call state.sh script to control all states operations on SDI. The states.sh its a independent script, witch means that it must get SDI configuration and functions to correctly work. Also, it needs to control itself to avoid multiples instances. Signed-off-by: Vinicius Ruoso commit 12f5fd7a11c30bd195f5df441ca0dbf1f1f4f746 Author: Vinicius Ruoso Date: Wed Feb 18 11:10:21 2009 -0300 Moved states related functions to states.sh The states.sh will be the script responsable to manage all states on SDI. This commit only copies the necessary functions to the new file. Signed-off-by: Vinicius Ruoso commit e20753c41b82f685fffba706a7f3ee9ffd7d2e7b Author: Diego Giovane Pasqualin Date: Mon Feb 16 15:14:09 2009 -0300 Allow the user to choose the ssh port to connect in the host New variable added in sdi.conf and configsdiparser.py: - ssh port: default value is 22. commit ff1f42e720b891ba3988b0ca910eda22c7008174 Author: Diego Giovane Pasqualin Date: Mon Feb 16 14:47:51 2009 -0300 Adapting the scripts to the new method of controlling PARSE() instances The method was described in the commit 8e5594. commit 8e5594ae0a2ad5750fdb8ff10808421c948afab4 Author: Diego Giovane Pasqualin Date: Mon Feb 16 14:45:50 2009 -0300 New method to control the number of PARSE() instances running This method use a semaphore implemented with socket's to limit the number of PARSE() instances running at the same time. This control intends to decrease the load of the server. The new variable "socket port", defined as 19183 in sdi.conf and configsdiparser.py, configure the port to socketdaemon.py connect and socketclient send commands. The socketdaemon.py accept these commands: "acquire": request to acquire a slot in semaphore "release": release a slot in semaphore "status": show status of connections, including the number of clients sleeping in semaphore, the maximum number of simultaneous connections, and the current number of connections. "add": increase the maximum number of connections acceptable simultaneously "rem": decrease the maximum number of connections acceptable simultaneously "stop": close socket and exit program commit 8e41ca2d8356788ec755bcbfaaa9dcb1546f9b17 Author: DIEGO GIOVANE PASQUALIN Date: Fri Feb 13 15:50:44 2009 -0200 launchsditunnel.sh: use closefifo() to close savestate() function commit a8eafbe3362dd19c291280543565ab9cc206c634 Author: DIEGO GIOVANE PASQUALIN Date: Fri Feb 13 15:48:31 2009 -0200 Fix SDITUNNEL() to correctly work when ssh fails We were using tail with --pid=$SDITUNNELPID, but when ssh fails the tail still there, stacking the function until SDI receive a close command. With this tail on background the script works normally, but it's necessary to kill the tail after ssh exits. This commit fix a regression added by commit 916fd6ef43c. commit f285485ee89134e8f71f7a94011b88443cebb377 Author: Vinicius Ruoso Date: Fri Feb 13 15:25:39 2009 -0200 Adapted SDI scripts and sdi.conf to new config parser The way scripts get sdi.conf information has been changed by the new configparser. Now, a eval command is used to retrieve the SDI configuration. Also, the sdi.conf file have been splited into four distinct sections: default, ssh, web and send file. This commit aplly this both modifications. Signed-off-by: Vinicius Ruoso commit 6e3f9c2185251461b21cde7affe5f804d9d55f20 Author: Vinicius Ruoso Date: Fri Feb 13 15:25:38 2009 -0200 Created a parser to SDI configuration file When running SDI, some important variables must be defined. At this time, the sdi.conf file are sourced by scripts that need those variables. This config parser will be responsable to get all informations on sdi.conf file, on a better way than source command. The sdi.conf will be separated on 4 sections: - general: some main information to SDI - ssh: ssh information to connect with hosts - web: definition of web related info - send file: sendfile feature config Signed-off-by: Vinicius Ruoso commit 2a7a3c3a013cf134380ea86ef20f22615d880540 Author: DIEGO GIOVANE PASQUALIN Date: Mon Feb 9 15:06:51 2009 -0200 Revert "Revert commit 2cb209" This reverts commit 536f1ac3b99a7f962b5e0f8f31c360fa45ce6d5a. The control of PARSE() instances with fifo's was unstable with many hosts and is being replaced by a scheme with socket's and semaphores. commit 0a8f2e8a9b19da9a5733e3fbd96496847662c576 Author: DIEGO GIOVANE PASQUALIN Date: Mon Feb 9 15:06:46 2009 -0200 Revert "parser.sh: PARSE() read a FIFO instead of the stdin" This reverts commit 0452ab8b93c1d5ea92ca1934daa6c427de496ff8. The control of PARSE() instances with fifo's was unstable with many hosts and is being replaced by a scheme with socket's and semaphores. commit c60c30721f75703a341d56aff4efb272e36647e9 Author: DIEGO GIOVANE PASQUALIN Date: Mon Feb 9 15:06:40 2009 -0200 Revert "launchsditunnel.sh: Communicate with the PARSE() through a fifo" This reverts commit 7f56022b0d334e770c9dc4474eb8ceb2456cc2cd. The control of PARSE() instances with fifo's was unstable with many hosts and is being replaced by a scheme with socket's and semaphores. commit 74aebed605c05120c62e0950cf0303fda63b30ff Author: DIEGO GIOVANE PASQUALIN Date: Mon Feb 9 15:06:34 2009 -0200 Revert "Allow the user to set how many PARSE() instances must be created" This reverts commit 66f5958e2ef80b87a2835e3153abe50b68fb3995. The control of PARSE() instances with fifo's was unstable with many hosts and is being replaced by a scheme with socket's and semaphores. commit 0afea88a12da43a55258202c32b1979d75ba5a75 Author: DIEGO GIOVANE PASQUALIN Date: Mon Feb 9 15:06:10 2009 -0200 Revert "launchsditunnel.sh: use closefifo() to close savestate() function" This reverts commit e15ae9610dba5a8e39375828e7543d016b49658c. The control of PARSE() instances with fifo's was unstable with many hosts and is being replaced by a scheme with socket's and semaphores. commit 7cee8f74a05e673b4ea9c0934e73430bc2b50193 Author: DIEGO GIOVANE PASQUALIN Date: Mon Feb 9 15:04:13 2009 -0200 Revert "Fix SDITUNNEL() to correctly work when ssh fails" This reverts commit 50a50c17b7918b841ff16941d0d49f0ba02702f8. The control of PARSE() instances with fifo's was unstable with many hosts and is being replaced by a scheme with socket's and semaphores. commit f1a021e7911aabb3a65057fe94cc7c2678cdae7e Merge: 9f34294... 5ecde18... Author: Bruno Ribas Date: Wed Jan 28 18:15:22 2009 -0200 Merge branch 'maint' commit 50a50c17b7918b841ff16941d0d49f0ba02702f8 Author: Vinicius Ruoso Date: Tue Jan 20 14:07:01 2009 -0200 Fix SDITUNNEL() to correctly work when ssh fails We were using tail with --pid=$SDITUNNELPID, but when ssh fails the tail still there, stacking the function until SDI receive a close command. With this tail on background the script works normally, but it's necessary to kill the tail after ssh exits. This commit fix a regression added by commit 916fd6ef43c. Signed-off-by: Vinicius Ruoso Signed-off-by: Bruno Ribas commit 9f342947cccb7f3f15c3f4ff6b66b3108a1cb740 Author: Vinicius Ruoso Date: Tue Jan 20 14:06:50 2009 -0200 Fix SDITUNNEL() to correctly work when ssh fails We were using tail with --pid=$SDITUNNELPID, but when ssh fails the tail still there, stacking the function until SDI receive a close command. With this tail on background the script works normally, but it's necessary to kill the tail after ssh exits. This commit fix a regression add by commit 916fd6ef43c. Signed-off-by: Vinicius Ruoso Signed-off-by: Bruno Ribas commit 667eddd01cf3f16ff6b0759187ecc0a6f68a794c Author: Diego Giovane Pasqualin Date: Thu Dec 4 13:11:17 2008 -0200 Added sdictl to be the user interface to sdi Signed-off-by: Diego Giovane Pasqualin Signed-off-by: Bruno Ribas commit e15ae9610dba5a8e39375828e7543d016b49658c Author: Diego Giovane Pasqualin Date: Thu Dec 4 13:11:18 2008 -0200 launchsditunnel.sh: use closefifo() to close savestate() function Signed-off-by: Diego Giovane Pasqualin Signed-off-by: Bruno Ribas commit f8d2cb1822b4e2f8eb31bfb53a6e4ca9939ed1fe Author: Vinicius Ruoso Date: Thu Dec 4 14:30:07 2008 -0200 Move web pages generation process to sdiweb When launching SDI the class specific web files are created just before launch all connections to this class. What happens is that some tunnels could have already launched, decreasing the performance of web files creation. Moving all the creation proccess before all tunnels launching will decrease the launching time. This is a concept change too. Some tests with a empty machine on 74 hosts showed a little better performance, but we expect that on a loaded machine with more hosts the speed will be significantly improved. Signed-off-by: Vinicius Ruoso Signed-off-by: Bruno Ribas commit 66f5958e2ef80b87a2835e3153abe50b68fb3995 Author: Diego Giovane Pasqualin Date: Wed Nov 26 10:35:01 2008 -0200 Allow the user to set how many PARSE() instances must be created The previous commit change the communication between ssh connection and PARSE() function and implies on a creation of a unique PARSE() instance. This is better for decrease the load of system, but may be worse to performance. This commit implements the possibility of the user manage this situation, declaring the $HOSTSPERPARSE variable, who defines how many instances of parse must be created. Signed-off-by: Diego Giovane Pasqualin commit 7f56022b0d334e770c9dc4474eb8ceb2456cc2cd Author: Diego Giovane Pasqualin Date: Wed Nov 26 10:35:00 2008 -0200 launchsditunnel.sh: Communicate with the PARSE() through a fifo Send messages from the ssh to the PARSE() using a fifo create by mkfifo(1), instead of a shell pipe. This change decreases drastically the number of process running in the system, once a unique instance of PARSE() can read all messages comming from the fifo. The closesdiprocs() uses closefifo() function to close the PARSE() fifo. Signed-off-by: Diego Giovane Pasqualin commit 0452ab8b93c1d5ea92ca1934daa6c427de496ff8 Author: Diego Giovane Pasqualin Date: Wed Nov 26 10:34:59 2008 -0200 parser.sh: PARSE() read a FIFO instead of the stdin The FIFO that the PARSE() must read is passed as the first argument. A ID for the PARSE instance is passed as the second argument to help the management of the instance, creating a pid file that will be used to close the tail(1) process. Signed-off-by: Diego Giovane Pasqualin commit 536f1ac3b99a7f962b5e0f8f31c360fa45ce6d5a Author: Diego Giovane Pasqualin Date: Wed Nov 26 10:34:58 2008 -0200 Revert commit 2cb209 Soon the PARSER will be reading from a FIFO, and this mkdir need to be put into loop again. Signed-off-by: Diego Giovane Pasqualin commit ae587ede0d52d957b04265db7c0e2c624514ae4a Author: Diego Giovane Pasqualin Date: Wed Nov 26 10:35:02 2008 -0200 launchsditunnel.sh: Create closefifo() function This function closes a process that are reading from a fifo. Signed-off-by: Diego Giovane Pasqualin commit e7e4cb0f12775bcfa2dbd36b73e1096770445d38 Merge: 6acb1fa... f9c74e7... Author: Bruno Ribas Date: Wed Nov 12 01:08:17 2008 -0200 Merge branch 'master' into next commit f9c74e787961192aaccf5b8ad894bc143ba86ed7 Author: Bruno Ribas Date: Wed Nov 12 01:06:07 2008 -0200 Fix closehost() to look to the right pid file of a sditunnel SDITUNNEL() writes into a file called $HOST.sditunnel while closehost() function looks for a file called just $HOST. Reported-by: Diego Pasqualin Signed-off-by: Bruno Ribas commit 6acb1fa41f58f193d2a53adc4fc78c0f1d9e7400 Author: Diego Giovane Pasqualin Date: Tue Nov 11 10:17:13 2008 -0200 Change the path of the PARSE() pid files to $PIDDIRSYS Signed-off-by: Diego Pasqualin Signed-off-by: Bruno Ribas commit 7ba0a7ed7546f4372cd13d8d4d84d3a5e240b487 Author: Diego Giovane Pasqualin Date: Tue Nov 11 10:17:12 2008 -0200 Fix launchsditunnel.sh to the standard of 76 columns per line Signed-off-by: Diego Pasqualin Signed-off-by: Bruno Ribas commit b3b549a5370be27a2395ee42b072426396e78b73 Author: Diego Giovane Pasqualin Date: Mon Nov 10 11:28:27 2008 -0200 Fix missing directories in launchsdi.sh Ensures that $FIFODIR, $STATEDIR and $PIDDIRSYS exists before launch sdi. Signed-off-by: Diego Giovane Pasqualin Signed-off-by: Bruno Ribas commit 60d092f67ed5d6e296df76d07d2a85e5d1c76660 Author: Diego Giovane Pasqualin Date: Fri Nov 7 11:40:55 2008 -0200 Move functions related to the parser from launchsditunnel.sh to parser.sh All references of the parser system were moved from launchsditunnel.sh to a new file called parser.sh. This change in the parser system is an important step to complete SDI modularization. Signed-off-by: diego Signed-off-by: Bruno Ribas commit d9aebf790c38e0f9e58fc7a20697d93c0d4866a4 Author: Vinicius Ruoso Date: Mon Nov 3 10:47:07 2008 -0200 Fix failure when blocking not enabled scripts When running SDI some scripts are available, and they can be enabled or not. When sending a script to a HOST with a not enabled script, an error (that no such parser object exist or is not enabled) is triggered and the HOST log file will have this information. The problem occurs when the second time the not enabled script is sent to some HOST. The PARSE() detects at the first time, but when the message comes again, the script functions were already sourced and the PARSE() will execute the code. When detecting a not enabled script functions previewsly loaded are unseted so next time same script is executed at HOSTS, PARSE() will not log them as an enabled-script. Signed-off-by: Vinicius Ruoso Signed-off-by: Bruno Ribas commit 57bf3ef1c9e80ac5105c4c240a8a204278cb6ccc Merge: 6ca3724... 9c48bd5... Author: Bruno Ribas Date: Wed Nov 5 02:49:30 2008 -0200 Merge branch 'master' into next commit 6ca3724469dcd22cd56e8ab94ec9e3e59eeeb0a1 Merge: 84cd804... 456888a... Author: Bruno Ribas Date: Thu Oct 30 14:05:46 2008 -0200 Merge branch 'master' into next commit 84cd8045c0367919960d3d0d7ec7ea89945f7373 Merge: 4b6ceac... 3461d79... Author: Bruno Ribas Date: Tue Oct 28 01:07:12 2008 -0200 Merge branch 'master' into next commit 4b6ceac7015077ebf74e6b004f592e8c05e2baf5 Merge: 41c2682... 7d33d48... Author: Bruno Ribas Date: Thu Oct 23 21:43:45 2008 -0200 Merge branch 'master' into next Signed-off-by: Bruno Ribas commit 41c2682949c725dcf085515fd1b59ad6ccf1db44 Author: Diego Giovane Pasqualin Date: Wed Oct 15 11:27:38 2008 -0300 Fix launchsdi.sh to use standard SDIMKDIR() function to create directories Signed-off-by: Diego Giovane Pasqualin commit ac6ff62a2b6891bda2c669230b571e89a8589af1 Author: Diego Giovane Pasqualin Date: Wed Oct 15 11:27:36 2008 -0300 Fix launchsditunnel.sh to use standard SDI SDIMKDIR() function Signed-off-by: Diego Giovane Pasqualin commit 9616cb8af73a8e719239f5cafb38c1cdb9400921 Author: Diego Giovane Pasqualin Date: Wed Oct 15 11:27:35 2008 -0300 Changed SDIMKDIR function to return a value instead of exit the program The caller must decide what to do with the return code. Signed-off-by: Diego Giovane Pasqualin commit d4766100b309f5655a0ad53458fef497547e3378 Merge: 0c25b10... faf060b... Author: Bruno Ribas Date: Wed Oct 15 15:52:45 2008 -0300 Merge branch 'master' into next commit 0c25b10825bb53481015fb5fbf67133b006014b6 Author: Diego Giovane Pasqualin Date: Wed Oct 8 13:23:32 2008 -0300 Created SDIMKDIR() function: creates and ensures that a dir is accessible Signed-off-by: Diego Giovane Pasqualin