aboutsummaryrefslogtreecommitdiffstats
path: root/config/lcdproc-dev/lcdproc.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@dds.nl>2012-02-01 14:15:00 -0800
committerSeth Mos <seth.mos@dds.nl>2012-02-01 14:15:00 -0800
commitcc9fefcc5249ab98f845d511833461a2400846c0 (patch)
tree85afd428c8451234b81abdd6d0779197b7832422 /config/lcdproc-dev/lcdproc.inc
parentc424326c18b13fc0d8a78bb6ddf4589f4bdbc4a3 (diff)
parent2bb724fbd70daf03b6e94563ba509bd32355d7fd (diff)
downloadpfsense-packages-cc9fefcc5249ab98f845d511833461a2400846c0.tar.gz
pfsense-packages-cc9fefcc5249ab98f845d511833461a2400846c0.tar.bz2
pfsense-packages-cc9fefcc5249ab98f845d511833461a2400846c0.zip
Merge pull request #208 from mdima/master
Kills explicitly the clients on the package resync
Diffstat (limited to 'config/lcdproc-dev/lcdproc.inc')
-rw-r--r--config/lcdproc-dev/lcdproc.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/lcdproc-dev/lcdproc.inc b/config/lcdproc-dev/lcdproc.inc
index 7617e168..0f40be53 100644
--- a/config/lcdproc-dev/lcdproc.inc
+++ b/config/lcdproc-dev/lcdproc.inc
@@ -512,6 +512,10 @@ if [ `ps auxw |awk '/lcdclient.s[h]/ {print $2}'| wc -l` != 0 ]; then
ps auxw |awk '/lcdclient.s[h]/ {print $2}'|xargs kill -9
sleep 1
fi
+if [ `ps auxw |awk '/lcdproc_client.ph[p]/ {print $2}'| wc -l` != 0 ]; then
+ ps auxw |awk '/lcdproc_client.ph[p]/ {print $2}'|xargs kill -9
+ sleep 1
+fi
if [ `ps auxw |awk '/LCD[d]/ {print $2}'| wc -l` != 0 ]; then
ps auxw |awk '/LCD[d]/ {print $2}'|xargs kill -9
sleep 1