/usr/share/doc/fetchmail/contrib/login is in fetchmail 6.3.26-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # ~/.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
|