view profile @ 120:52a56c121370

force ipv4 when using oping
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 18 May 2017 07:43:09 +0200
parents a7654f2b4170
children
line wrap: on
line source

#
# Use this as .profile on systems where the default shell cannot be changed to zsh
#
if [ ! -z "$SSH_TTY" ]; then
	# this is an interactive shell, replace the current shell with a zsh
    if [ -f /bin/zsh ]; then
        export SHELL=/bin/zsh
        exec /bin/zsh -l
    fi
fi