Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > by-pkgid > 36c36c4ab9b69e2c2369ef0b681446d2 > files > 32

fetchmail-6.1.0-1.1mdk.i586.rpm

#	~/.bash_login
#

#	Start Fetchmail up when I Login.
#
#	TDEV=my PRESENT terminal device IE: ttyp2, tty5, ....
#
export TDEV=`tty | sed -n -e "s#/dev/##p"`
#
if [ ! -s ~/.fetchmail ]; then
    /usr/local/bin/fetchmail -d 300
    echo "owner" >.fetchmail.$TDEV
else
    echo "notowner" >.fetchmail.$TDEV
fi
# END of Fetchmail startup