Comment 13 for bug 1185866

Revision history for this message
In , amak79 (amak79) wrote :

Thank you for looking into this issue. I tried some of your suggestions with the following results.

- Without nohup, background 'if-then-else', without redirects
Boot is delayed.

- Without nohup, background only 'else', without redirects
Boot is delayed.

- With nohup, background only the 'else', redirect i/o to null
Boot isn't delayed. udev debug shows 'exit with return code 0'. I'm assuming this means it was successful?

I now use the following:

if [ something ]; then blob; else /usr/bin/nohup /usr/bin/hp-config_usb_printer $env{BUSNUM}:$env{DEVNUM} >/dev/null 2>&1 </dev/null & fi

I think this is much better than redirecting output /run.