diff options
author | Michele Di Maria <michele@nt2.it> | 2012-02-01 22:51:23 +0100 |
---|---|---|
committer | Michele Di Maria <michele@nt2.it> | 2012-02-01 22:51:23 +0100 |
commit | 2bb724fbd70daf03b6e94563ba509bd32355d7fd (patch) | |
tree | 85afd428c8451234b81abdd6d0779197b7832422 /config/lcdproc-dev/lcdproc.inc | |
parent | e7192dee6229c4f17afdcdb0f80b2a8b5aa5a513 (diff) | |
download | pfsense-packages-2bb724fbd70daf03b6e94563ba509bd32355d7fd.tar.gz pfsense-packages-2bb724fbd70daf03b6e94563ba509bd32355d7fd.tar.bz2 pfsense-packages-2bb724fbd70daf03b6e94563ba509bd32355d7fd.zip |
Kills explicitly the clients on the package resync
Diffstat (limited to 'config/lcdproc-dev/lcdproc.inc')
-rw-r--r-- | config/lcdproc-dev/lcdproc.inc | 4 |
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 |