changeset 360:d0da972238d0

adding program to setup X
author Jeff Hammel <jhammel@mozilla.com>
date Tue, 02 Jul 2013 11:17:37 -0700
parents 07d01606da84
children 5e0b4ec36013
files bin/setup-X.sh
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/setup-X.sh	Tue Jul 02 11:17:37 2013 -0700
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# daemons
+for i in nm-applet gkrellm diodon
+do
+    if ! ps aux | grep ${i} | grep -v 'grep'
+    then
+        echo "not running: $i"
+        if which ${i}
+        then
+            ${i} &
+        fi
+    fi
+done
\ No newline at end of file