<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,7 @@ alert_user
 
 if [ $change_wallpaper == 'y' ]; then
 
-	if [ ! -f &quot;$wallpaper&quot; ]; then
+	# if [ ! -f &quot;$wallpaper&quot; ]; then
 
 		# TODO: finish this, to allow setting the wallpaper remotely
 		# if [ `find_in &quot;$wallpaper&quot; 'http://'` ]; then
@@ -19,7 +19,7 @@ if [ $change_wallpaper == 'y' ]; then
 		# sed -i -e $module_path/config 'wallpaper=.*$/wallpaper=\'$module_path/lib/prey-wallpaper-$lang.png\'/'
 		# fi
 
-	fi
+	# fi
 
 	echo &quot;$STRING_CHANGE_WALLPAPER&quot;
 	if [ ! -f &quot;$wallpaper.orig&quot; ]; then # we still havent put the email address</diff>
      <filename>modules/alert/run</filename>
    </modified>
    <modified>
      <diff>@@ -17,6 +17,10 @@ function find_in {
 	echo &quot;${1}&quot; | grep &quot;${2}&quot; 1&gt;/dev/null &amp;&amp; echo 1 || return 0
 }
 
+function is_command_running {
+	ps ax | grep -v grep | grep &quot;$1&quot; &gt; /dev/null &amp;&amp; echo 1 || return 0
+}
+
 # fetches a var and then assigns it as $value
 # expects the name of hash and then the name of var
 function get_var {</diff>
      <filename>platform/base</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>94ed3a152e2c7259dd5cdd45dd4fa358751790ca</id>
    </parent>
  </parents>
  <author>
    <name>Tom&#225;s Pollak</name>
    <email>tomaspollak@gmail.com</email>
  </author>
  <url>http://github.com/tomas/prey/commit/610c7fe47b6a2f101c126612634d4eab43c9d44a</url>
  <id>610c7fe47b6a2f101c126612634d4eab43c9d44a</id>
  <committed-date>2009-10-13T22:59:55-07:00</committed-date>
  <authored-date>2009-10-13T22:59:55-07:00</authored-date>
  <message>Fixed alarm module and added command checker function in platform/base</message>
  <tree>82a1da3062eae8d10b8b4ba03e97aa4d509c7729</tree>
  <committer>
    <name>Tom&#225;s Pollak</name>
    <email>tomaspollak@gmail.com</email>
  </committer>
</commit>
