I'd reckon a simple test and exec in the initialization files would work for changing roots shell when it's safe to and continuing otherwise.
Under bourne it would probably look some thing like:
Code:
if [ -x /usr/local/bin/foosh ]; then
exec /usr/local/bin/foosh
else
echo 'WARNING: foosh not available!'
fi
I never learned how to script the C-Shell, only POSIX-based BourneShell but I'd expect some thing similar is possible in csh/tcsh.
footnote:
As long as it has line editing, redirection, and pipes, I could care less which shell root uses. So I've never bothered to change roots shell on any of my systems ^_^
__________________
My
Journal
Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.