diff options
author | Seth Mos <seth.mos@dds.nl> | 2012-02-01 14:15:00 -0800 |
---|---|---|
committer | Seth Mos <seth.mos@dds.nl> | 2012-02-01 14:15:00 -0800 |
commit | cc9fefcc5249ab98f845d511833461a2400846c0 (patch) | |
tree | 85afd428c8451234b81abdd6d0779197b7832422 /config/lcdproc-dev/lcdproc.inc | |
parent | c424326c18b13fc0d8a78bb6ddf4589f4bdbc4a3 (diff) | |
parent | 2bb724fbd70daf03b6e94563ba509bd32355d7fd (diff) | |
download | pfsense-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.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 |