Sophie

Sophie

distrib > Mandriva > 2006.0 > x86_64 > by-pkgid > 1d33b76ee062eeb691159f16c6b3fc5b > files > 33

fetchmail-6.2.5-11.3.20060mdk.x86_64.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