From 822fe8e489823bb5c1e6a8a90ebda2ba7e35cf9f Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 11 Oct 2015 20:35:08 +0200 Subject: [PATCH] On server re-start, send reminder mail to re-identify via NickServ. --- bin/screen-irssi.sh | 3 +++ mails/irssi_identify_reminder | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 mails/irssi_identify_reminder diff --git a/bin/screen-irssi.sh b/bin/screen-irssi.sh index 4f11aa2..1e61f46 100755 --- a/bin/screen-irssi.sh +++ b/bin/screen-irssi.sh @@ -11,3 +11,6 @@ echo 1 # Start irssi in shell in screen. screen -d -m -S irssi screen -S irssi -X stuff 'irssi\n' + +# Send mail to remind user to re-identify to NickServ. +~/config/bin/simplemail.sh ~/config/mails/irssi_identify_reminder diff --git a/mails/irssi_identify_reminder b/mails/irssi_identify_reminder new file mode 100644 index 0000000..739ceec --- /dev/null +++ b/mails/irssi_identify_reminder @@ -0,0 +1,4 @@ +irssi restarted, re-identify! + +Your irssi was restarted, so don't forget to re-identify to Nickserv via +"/msg nickserv identify [password]". -- 2.30.2