Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread dave festing
Yes, it does. > From: j...@pengutronix.de > To: oselas@community.pengutronix.de > Date: Mon, 2 Mar 2015 11:19:55 +0100 > CC: dave_fest...@hotmail.com > Subject: Re: [oselas] Latest mini2440BSP bash pidof problems > > On Saturday 28 February 2015 08:11:20 Dave Festing wrote:

Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread dave festing
ave a work-around. Thanks, Dave > Date: Mon, 2 Mar 2015 10:56:48 +0100 > From: m...@pengutronix.de > To: j...@pengutronix.de; oselas@community.pengutronix.de > CC: dave_fest...@hotmail.com > Subject: Re: [oselas] Latest mini2440BSP bash pidof problems > > On 03/02/2015 10:54

Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread Juergen Borleis
On Saturday 28 February 2015 08:11:20 Dave Festing wrote: > Upgraded a system that has been working nicely with the previous BSP and > 3.7 and having a few problems. > > My main PHP script starts with: > > #!/usr/bin/php5 > > ... > > and the error I get when I invoke: > > ./data.php (from the di

Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread Marc Kleine-Budde
On 03/02/2015 10:54 AM, Juergen Borleis wrote: > On Monday 02 March 2015 10:38:42 Marc Kleine-Budde wrote: >> On 03/02/2015 10:30 AM, Juergen Borleis wrote: >>> Maybe you should do more validating tests. >>> >>> PROC_TO_KILL=`pidof data.hhp` >>> if [ -n "${PROC_TO_KILL}" ]; then >>> ps "${PR

Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread dave festing
.de > To: oselas@community.pengutronix.de > Date: Mon, 2 Mar 2015 10:30:15 +0100 > CC: dave_fest...@hotmail.com > Subject: Re: [oselas] Latest mini2440BSP bash pidof problems > > Hi Dave, > > On Saturday 28 February 2015 08:11:20 Dave Festing wrote: > > Upgraded a sy

Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread Juergen Borleis
On Monday 02 March 2015 10:38:42 Marc Kleine-Budde wrote: > On 03/02/2015 10:30 AM, Juergen Borleis wrote: > > Maybe you should do more validating tests. > > > > PROC_TO_KILL=`pidof data.hhp` > > if [ -n "${PROC_TO_KILL}" ]; then > > ps "${PROC_TO_KILL}" > /dev/null > > if [ $? -eq 0 ];

Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread Marc Kleine-Budde
On 03/02/2015 10:30 AM, Juergen Borleis wrote: > Maybe you should do more validating tests. > > PROC_TO_KILL=`pidof data.hhp` > if [ -n "${PROC_TO_KILL}" ]; then > ps "${PROC_TO_KILL}" > /dev/null > if [ $? -eq 0 ]; then > kill "${PROC_TO_KILL}" > fi > fi This is all rac

Re: [oselas] Latest mini2440BSP bash pidof problems

2015-03-02 Thread Juergen Borleis
Hi Dave, On Saturday 28 February 2015 08:11:20 Dave Festing wrote: > Upgraded a system that has been working nicely with the previous BSP and > 3.7 and having a few problems. > > My main PHP script starts with: > > #!/usr/bin/php5 > > ... > > and the error I get when I invoke: > > ./data.php (f

[oselas] Latest mini2440BSP bash pidof problems

2015-02-27 Thread Dave Festing
Upgraded a system that has been working nicely with the previous BSP and 3.7 and having a few problems. My main PHP script starts with: #!/usr/bin/php5