All pastes #609267 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-08 19:58 UTC
rendered paste body
if [ "$SHELL" = "/bin/sh" ]; then
        uname=`uname`
        if [ "$uname" = "FreeBSD" ]; then
                SHELL=/usr/local/bin/ksh
                exec /usr/local/bin/ksh -l
        elif [ "$uname" = "OpenBSD" ]; then
                SHELL=/bin/ksh
                exec /bin/ksh -l
        else 
                SHELL=/bin/bash                exec /bin/bash -l
        fi
fi