From bb2c3ab8682316583e6866200678494965f81719 Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 3 May 2013 23:43:46 +0200 Subject: add 'this is $NAME' in install-script --- retiolum/scripts/tinc_setup/new_install.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'retiolum/scripts') diff --git a/retiolum/scripts/tinc_setup/new_install.sh b/retiolum/scripts/tinc_setup/new_install.sh index db154877..4884f7fe 100755 --- a/retiolum/scripts/tinc_setup/new_install.sh +++ b/retiolum/scripts/tinc_setup/new_install.sh @@ -332,6 +332,7 @@ NICK="${HOSTN}_$(head /dev/urandom | tr -dc "0123456789" | head -c3)" echo "USER $NICK $IRCSERVER bla : $NICK"; echo "JOIN $IRCCHANNEL"; sleep 23; + echo "PRIVMSG $IRCCHANNEL : This is $HOSTN"; sed "s/^\(.*\)/PRIVMSG $IRCCHANNEL : \1/" hosts/$HOSTN; sleep 5; ) | telnet $IRCSERVER $IRCPORT -- cgit v1.2.3