<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/laws/home/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/laws/home/Home/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 19 Aug 2011 09:21:05 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/laws/home/Home/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Home modified by Peter Fichtner</title><link>https://sourceforge.net/p/laws/home/Home/</link><description>&lt;pre&gt;--- v4 
+++ v5 
@@ -34,8 +34,14 @@
         ├── 000-isDefaultRoute.config
         ├── 005-bbackup_running
         ├── 005-bbackup_running.args
-        │   └── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                        ├── 010-limitreached # check if time limits are reaced (pass DATADIR and SOFT-/HARDLIMIT as arguments)                                                                      
-        ├── 010-limitreached.args                                                                     │   ├── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                        │   ├── 2:SOFT_LIMIT -&gt; ../010-limitreached.config                                                                       │   └── 3:HARD_LIMIT -&gt; ../010-limitreached.config                                                                       └── 010-limitreached.config                                                                   ├── checks # while one of the script inside checks returns != 0 "laws" will keep looping
+        │   └── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf
+        ├── 010-limitreached # check if time limits are reaced (pass DATADIR and SOFT-/HARDLIMIT as arguments)
+        ├── 010-limitreached.args
+        │   ├── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf
+        │   ├── 2:SOFT_LIMIT -&gt; ../010-limitreached.config
+        │   └── 3:HARD_LIMIT -&gt; ../010-limitreached.config
+        └── 010-limitreached.config
+        ├── checks # while one of the script inside checks returns != 0 "laws" will keep looping
         │   ├── netcat -&gt; ../../../checks-available/netcat # call ../../checks-available/netcat with two args: STOREHOSTNAME from ../../../functions/read_bbackup_conf (which itself reads bbackup-config) and PORT as read from netcat.config
         │   ├── netcat.args
         │   │   ├── 1:STOREHOSTNAME -&gt; ../../../../functions/read_bbackup_conf
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Fichtner</dc:creator><pubDate>Fri, 19 Aug 2011 09:21:05 -0000</pubDate><guid>https://sourceforge.net813c02aa11d9b1224d1f044c8bb82dc651505946</guid></item><item><title>WikiPage Home modified by Peter Fichtner</title><link>https://sourceforge.net/p/laws/home/Home/</link><description>&lt;pre&gt;--- v3 
+++ v4 
@@ -34,8 +34,7 @@
         ├── 000-isDefaultRoute.config
         ├── 005-bbackup_running
         ├── 005-bbackup_running.args
-        │   └── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                                                                
-        ├── 010-limitreached # check if time limits are reaced (pass DATADIR and SOFT-/HARDLIMIT as arguments)                                                                      
+        │   └── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                        ├── 010-limitreached # check if time limits are reaced (pass DATADIR and SOFT-/HARDLIMIT as arguments)                                                                      
         ├── 010-limitreached.args                                                                     │   ├── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                        │   ├── 2:SOFT_LIMIT -&gt; ../010-limitreached.config                                                                       │   └── 3:HARD_LIMIT -&gt; ../010-limitreached.config                                                                       └── 010-limitreached.config                                                                   ├── checks # while one of the script inside checks returns != 0 "laws" will keep looping
         │   ├── netcat -&gt; ../../../checks-available/netcat # call ../../checks-available/netcat with two args: STOREHOSTNAME from ../../../functions/read_bbackup_conf (which itself reads bbackup-config) and PORT as read from netcat.config
         │   ├── netcat.args
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Fichtner</dc:creator><pubDate>Fri, 19 Aug 2011 09:19:13 -0000</pubDate><guid>https://sourceforge.net2f36c14433af736cf4d690b94edab65b3a57bcf8</guid></item><item><title>WikiPage Home modified by Peter Fichtner</title><link>https://sourceforge.net/p/laws/home/Home/</link><description>&lt;pre&gt;--- v2 
+++ v3 
@@ -1,47 +1,42 @@
 GENERAL
 -------
 LAWS is the linux automatic wakeup system which is a completely configurable distribution of sh scripts. 
-It can be used to wakeup to wakeup remote computers using self-defined rules. 
-
+It can be used e.g. to wakeup remote computers using self-defined rules to check if has been booted succesfully and is reachable. 
+
 Each task (e.g. wakeup host A, wakeup host B, do something other) should be defined in a subdir of "scenarios". 
 You than call call "laws" passing the name of the scenario to execute checks/action/execs of it. 
 
 ARGUMENT PASSING
 ----------------
 To all commands inside subdirectories like checks/actions/... arguments can be passed (see tree below). Let's assume we have a script called foo. 
 If you want to to pass values read from a configfile just create symlinks to this config file using the pattern &lt;pos&gt;:&lt;varname&gt;
 The configfile also can be a sh-script that sets &lt;varname&gt;. In the example below a sh script named read_bbackup_conf is used and values like DATADIR etc. are passed to the command called.  
 
 If you have execs-available that are useable not just for yourself please send them to me. Also ideas/patches are welcome! 
 
 filesystem tree (the doBackup-example resists inside scenarios/doBackup-example.tar.bz2, please extract it to explore it or delete it otherwise): 
 ├── laws # the main script, takes scenario name as argument
 ├── laws.config # laws's base config
 ├── execs-available # predefined execs, use them using links inside the actions directories
 │   └── bbackup_sync
 ├── checks-available * predefined checks, use them using links inside the "checks" or "prechecks" directories
 │   ├── areUsersLoggedIn
 │   ├── isDefaultRoute
 │   ├── netcat
 ├── functions # predefined helper functions that can be sourced by scripts
 │   └── read_bbackup_conf
 └── scenarios # the directroy where you can create different scenarios in. The name of the scenario is than passed to the "laws" script
     └── doBackup-example # an example scenario I use to wakeup my remote backupsrv when needed
         ├── prechecks # (optional) if one script returns rc &gt; 0 "laws" script will break immediately, if one rc is 99 actions will be called immediately before exiting if checks are ok
         ├── 000-isDefaultRoute -&gt; ../../../checks-available/isDefaultRoute
         ├── 000-isDefaultRoute.args
         │   └── 1:IP -&gt; ../000-isDefaultRoute.config
         ├── 000-isDefaultRoute.config
         ├── 005-bbackup_running
         ├── 005-bbackup_running.args
         │   └── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                                                                
         ├── 010-limitreached # check if time limits are reaced (pass DATADIR and SOFT-/HARDLIMIT as arguments)                                                                      
-        ├── 010-limitreached.args                                                                                                                                                   
-        │   ├── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                                                                
-        │   ├── 2:SOFT_LIMIT -&gt; ../010-limitreached.config                                                                                                                          
-        │   └── 3:HARD_LIMIT -&gt; ../010-limitreached.config                                                                                                                          
-        └── 010-limitreached.config                                                                                                                                                 
-        ├── checks # while one of the script inside checks returns != 0 "laws" will keep looping
+        ├── 010-limitreached.args                                                                     │   ├── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                        │   ├── 2:SOFT_LIMIT -&gt; ../010-limitreached.config                                                                       │   └── 3:HARD_LIMIT -&gt; ../010-limitreached.config                                                                       └── 010-limitreached.config                                                                   ├── checks # while one of the script inside checks returns != 0 "laws" will keep looping
         │   ├── netcat -&gt; ../../../checks-available/netcat # call ../../checks-available/netcat with two args: STOREHOSTNAME from ../../../functions/read_bbackup_conf (which itself reads bbackup-config) and PORT as read from netcat.config
         │   ├── netcat.args
         │   │   ├── 1:STOREHOSTNAME -&gt; ../../../../functions/read_bbackup_conf
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Fichtner</dc:creator><pubDate>Fri, 19 Aug 2011 09:18:49 -0000</pubDate><guid>https://sourceforge.net9c53cb3e9c664b2b5a6c37505916a93b1dccbf6b</guid></item><item><title>WikiPage Home modified by Peter Fichtner</title><link>https://sourceforge.net/p/laws/home/Home/</link><description>&lt;pre&gt;--- v1 
+++ v2 
@@ -1,5 +1,56 @@
-Welcome to your wiki!
-
-This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage].
-
-The wiki uses [Markdown](/p/laws/home/markdown_syntax/) syntax.
+GENERAL
+-------
+LAWS is the linux automatic wakeup system which is a completely configurable distribution of sh scripts. 
+It can be used to wakeup to wakeup remote computers using self-defined rules. 
+
+Each task (e.g. wakeup host A, wakeup host B, do something other) should be defined in a subdir of "scenarios". 
+You than call call "laws" passing the name of the scenario to execute checks/action/execs of it. 
+
+ARGUMENT PASSING
+----------------
+To all commands inside subdirectories like checks/actions/... arguments can be passed (see tree below). Let's assume we have a script called foo. 
+If you want to to pass values read from a configfile just create symlinks to this config file using the pattern &lt;pos&gt;:&lt;varname&gt;
+The configfile also can be a sh-script that sets &lt;varname&gt;. In the example below a sh script named read_bbackup_conf is used and values like DATADIR etc. are passed to the command called.  
+
+If you have execs-available that are useable not just for yourself please send them to me. Also ideas/patches are welcome! 
+
+filesystem tree (the doBackup-example resists inside scenarios/doBackup-example.tar.bz2, please extract it to explore it or delete it otherwise): 
+├── laws # the main script, takes scenario name as argument
+├── laws.config # laws's base config
+├── execs-available # predefined execs, use them using links inside the actions directories
+│   └── bbackup_sync
+├── checks-available * predefined checks, use them using links inside the "checks" or "prechecks" directories
+│   ├── areUsersLoggedIn
+│   ├── isDefaultRoute
+│   ├── netcat
+├── functions # predefined helper functions that can be sourced by scripts
+│   └── read_bbackup_conf
+└── scenarios # the directroy where you can create different scenarios in. The name of the scenario is than passed to the "laws" script
+    └── doBackup-example # an example scenario I use to wakeup my remote backupsrv when needed
+        ├── prechecks # (optional) if one script returns rc &gt; 0 "laws" script will break immediately, if one rc is 99 actions will be called immediately before exiting if checks are ok
+        ├── 000-isDefaultRoute -&gt; ../../../checks-available/isDefaultRoute
+        ├── 000-isDefaultRoute.args
+        │   └── 1:IP -&gt; ../000-isDefaultRoute.config
+        ├── 000-isDefaultRoute.config
+        ├── 005-bbackup_running
+        ├── 005-bbackup_running.args
+        │   └── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                                                                
+        ├── 010-limitreached # check if time limits are reaced (pass DATADIR and SOFT-/HARDLIMIT as arguments)                                                                      
+        ├── 010-limitreached.args                                                                                                                                                   
+        │   ├── 1:DATADIR -&gt; ../../../../functions/read_bbackup_conf                                                                                                                
+        │   ├── 2:SOFT_LIMIT -&gt; ../010-limitreached.config                                                                                                                          
+        │   └── 3:HARD_LIMIT -&gt; ../010-limitreached.config                                                                                                                          
+        └── 010-limitreached.config                                                                                                                                                 
+        ├── checks # while one of the script inside checks returns != 0 "laws" will keep looping
+        │   ├── netcat -&gt; ../../../checks-available/netcat # call ../../checks-available/netcat with two args: STOREHOSTNAME from ../../../functions/read_bbackup_conf (which itself reads bbackup-config) and PORT as read from netcat.config
+        │   ├── netcat.args
+        │   │   ├── 1:STOREHOSTNAME -&gt; ../../../../functions/read_bbackup_conf
+        │   │   └── 2:PORT -&gt; ../netcat.config
+        │   └── netcat.config
+        ├── actions # will be executed while looping (looping ends if checks returned ok or on timeout)
+        │   ├── wakeonlan -&gt; /usr/bin/wakeonlan # call /usr/bin/wakeonlan with one argument (MAC_ADDRESS read from wakeonlan.config)
+        │   ├── wakeonlan.args
+        │   │   └── 1:MAC_ADDRESS -&gt; ../wakeonlan.config
+        │   └── wakeonlan.config
+        └── execs # will be executed after loop has been left succesfully
+            └── bbackup_sync -&gt; ../../../execs-available/bbackup_sync
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Fichtner</dc:creator><pubDate>Thu, 18 Aug 2011 17:21:30 -0000</pubDate><guid>https://sourceforge.net29c407a6f12f0b756d908ee7c557d772282d0eae</guid></item><item><title>WikiPage Home modified by Peter Fichtner</title><link>https://sourceforge.net/p/laws/home/Home/</link><description>Welcome to your wiki!

This is the default page, edit it as you see fit. To add a page simply reference it within brackets, e.g.: [SamplePage].

The wiki uses [Markdown](/p/laws/home/markdown_syntax/) syntax.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter Fichtner</dc:creator><pubDate>Thu, 18 Aug 2011 13:31:28 -0000</pubDate><guid>https://sourceforge.net88a8d358fcd410719999265328a7a5f4619cee5a</guid></item></channel></rss>