File: login_script

package info (click to toggle)
welcome2l 3.04-20
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 412 kB
  • ctags: 77
  • sloc: ansic: 1,468; makefile: 150; sh: 58
file content (41 lines) | stat: -rw-r--r-- 795 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#
# LINUX_LOGO
#
# This sample script by Juhapekka Tolvanen <juhtolv@silmu.st.jyu.fi>
# goes at the end of a .bashrc file.  It detects where you are logging
# in from, and will run Welcome2L [a intel-specific logo program],
# linux_logo, or linux_logo -a depending on term type.

# Slighty modified for Debian's welcome2l package 
# by Robert Luberda <robert@debian.org> on 7 May 2003.

R=$(cat /etc/debian_version)

#eval resize
# if [ $LINES >= 40 ]; then

#linux_logo -ascii -y -u


#linux_logo -ascii -y -u

case "$TERM" in

linux)
	#linux_logo_custom -t "Debian GNU/Linux $R" -y -u
	Welcome2L -msg"Debian GNU/Linux"
	uptime
	echo Debian GNU/Linux $R
	echo ""
;;

xterm-color)
	#linux_logo -t "Debian GNU/Linux $R" -y -u
;;

*)
	#linux_logo -t "Debian GNU/Linux $R" -y -u -ascii

esac

# fi