]> Pileus Git - ~andy/fetchmail/blob - contrib/login
Complete Dominik's name.
[~andy/fetchmail] / contrib / login
1 #       ~/.bash_login
2 #
3
4 #       Start Fetchmail up when I Login.
5 #
6 #       TDEV=my PRESENT terminal device IE: ttyp2, tty5, ....
7 #
8 export TDEV=`tty | sed -n -e "s#/dev/##p"`
9 #
10 if [ ! -s ~/.fetchmail ]; then
11     /usr/local/bin/fetchmail -d 300
12     echo "owner" >.fetchmail.$TDEV
13 else
14     echo "notowner" >.fetchmail.$TDEV
15 fi
16 # END of Fetchmail startup