2019-08-11 18:54:10 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
. /etc/efingerd/log # do some logging
|
|
|
|
|
2019-09-10 12:14:36 +00:00
|
|
|
printf "\nwelcome to\n"
|
|
|
|
figlet -f smslant envs.net
|
2019-11-04 23:57:19 +00:00
|
|
|
printf "is a minimalist, non-commercial\nshared linux system and will always be free to use.\n\n"
|
2019-09-10 12:14:36 +00:00
|
|
|
printf "we are linux lovers, programmer and users who like build webpages,\n"
|
|
|
|
printf "write blogs, chat online, play cool console games and so much more.\n"
|
|
|
|
printf "visit us on the web or gopher for more info\n"
|
2019-08-11 18:54:10 +00:00
|
|
|
|
|
|
|
if [ "$1" = "(null)" ]; then
|
2019-09-10 12:14:36 +00:00
|
|
|
printf "hello %s,\n" "$2"
|
2019-08-11 18:54:10 +00:00
|
|
|
else
|
2019-09-10 12:14:36 +00:00
|
|
|
printf "hello %s@%s\n" "$1" "$2"
|
2019-08-11 18:54:10 +00:00
|
|
|
fi
|
|
|
|
|
2019-09-10 12:14:36 +00:00
|
|
|
printf "users currently logged in are:\n\n"
|
|
|
|
who -uw | sort -u -k 1,1
|
|
|
|
printf "\n"
|