view bin/setup-X.sh @ 373:8d4a0a2a5038

not sure what i did
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 24 Jul 2013 02:38:16 -0700
parents d0da972238d0
children 0e99d3a68066
line wrap: on
line source

#!/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