batteryobserver: bug fix which prevented the batteryobserver from starting
This commit is contained in:
parent
17db6acaaf
commit
9e784ebfee
1 changed files with 4 additions and 3 deletions
|
@ -1,8 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ -n "$(pgrep batteryobserver)" ]; then
|
||||
exit 0
|
||||
fi
|
||||
#if [ -n "$(pgrep batteryobserver | grep -v $$)" ]; then
|
||||
# echo "Battery Observer already running"
|
||||
# exit 0
|
||||
#fi
|
||||
|
||||
#Config
|
||||
WARNING_LEVEL=10
|
||||
|
|
Loading…
Reference in a new issue