improved on_user_login
This commit is contained in:
2
bin/on_user_login
Normal file → Executable file
2
bin/on_user_login
Normal file → Executable file
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -f ~/bin/say_in_english ]; then
|
if [ -f ~/bin/say_in_english ]; then
|
||||||
. ~/bin/say_in_english "$LOGNAME is connecting on `hostname`"
|
. ~/bin/say_in_english "User $LOGNAME is connecting on machine `hostname`" &
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user