On Sun, Mar 09, 2008 at 08:35:28PM +0800, Wei Chen wrote: > if [[ $1 != "run-script-nicely" ]] > then > nice -n19 $BASEDIR/$(basename $0) run-script-nicely > exit 0 > fi > echo 'original script here...' > > But later I found it too strange for me, so I changed to what you have
:) > mentioned... Thank you :) A better way to do the above, if you must, would be to use renice on $$. -- CaT -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]