summaryrefslogtreecommitdiffstats
path: root/retiolum
diff options
context:
space:
mode:
authormakefu <root@pigstarter.de>2013-05-03 23:43:46 +0200
committermakefu <root@pigstarter.de>2013-05-03 23:43:46 +0200
commitbb2c3ab8682316583e6866200678494965f81719 (patch)
tree1b2aaf897b50ea06f802ebb17fa723c57534869e /retiolum
parentcb39d733e763f671877893836e3aabf0f4927a33 (diff)
add 'this is $NAME' in install-script
Diffstat (limited to 'retiolum')
-rwxr-xr-xretiolum/scripts/tinc_setup/new_install.sh1
1 files changed, 1 insertions, 0 deletions
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