File: login

package info (click to toggle)
fetchmail 6.3.6-1etch3
  • links: PTS
  • area: main
  • in suites: etch
  • size: 6,344 kB
  • ctags: 3,617
  • sloc: ansic: 26,507; sh: 4,967; perl: 3,180; python: 1,920; yacc: 448; makefile: 331; lex: 277; awk: 124; lisp: 84; sed: 16
file content (16 lines) | stat: -rwxr-xr-x 334 bytes parent folder | download | duplicates (18)
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