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.
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.