Hi all;

somewhere between busybox v 1.19.3 and 1.20.2 the ps command lost the
options "a" and "x".
This results in an error message while running /usr/bin/poff:

ps: invalid option -- a
BusyBox v1.20.2 (2012-08-03 15:42:23 CEST) multi-call binary.

Usage: ps

Show list of processes

        w       Wide output
        l       Long output
        T       Show threads

The line in question is:
PID=`ps axw | grep "[ /]pppd call $1 .*\$" | sed 's/ *//;s/ .*//'`

Changing it to
PID=`ps axw | grep "[ /]pppd call $1 .*\$" | sed 's/ *//;s/ .*//'`
solves the error.

Following Yves proposal this should go into 4.3-fixes, then merged (or
rebased) into master and then in to next as well?

kp

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to