On 07/06/2004 05:54 PM Philippe Gerum wrote: > On Tue, 2004-07-06 at 17:22, Wolfgang Grandegger wrote: >> Hi Philippe, >> >> recent versions of "rtai_load" use the command "file -b ", which does >> not exist on my target platform (ELDK). Could we replace it with "ls -l" >> which gives the same result? >> > > No "file" in busybox? oh, well... Need to change the regexp, but ok. > I'll fix it asap.
Thanks for the fix. Somebody else reported, that there are still a problems with the "type" and "sudo" commands under busybox (which I haven't used yet). Therefore I propose the following replacement in rtai-load: if test \! "x`sudo -V > /dev/null 2>&1`" = x; then sudo=sudo fi Thanks. Wolfgang.
