Martin McCormick wrote:
> So, can I make a shell script background itself after
> starting?
You could run all your code in a sub-shell:
#!/bin/sh
(
#your script here
) &
or in a shell function:
old_script()
{
#your script here
}
old_script $* &
Perhaps the second way requires less code
re-factoring...
Nikos