Script doesn't keep running from other script
Alan Dayley
adayley at gmail.com
Tue May 13 19:46:03 PDT 2008
Denys Vlasenko wrote:
>> I should use the command line:
>>
>> setsid /bin/sh /mnt/FlashMemory/usbmountd >/dev/null 2>&1 </dev/null &
>>
>> Correct? Does it need some punctuation?
>
> Correct. You also need to check that you have "setsid" program
> installed (bbox has one too) and it is in the path.
>
> For debugging, redirect output to a file. You can use >/dev/null
> later, when you confirm it works as expected.
Thanks very much. This was the correct solution!
I recompiled Busybox to enable setsid and after that it was smooth as
can be.
Alan
More information about the busybox
mailing list