aboutsummaryrefslogtreecommitdiffstats
path: root/bin/mirssi
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mirssi')
-rwxr-xr-xbin/mirssi12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/mirssi b/bin/mirssi
new file mode 100755
index 0000000..6a9ceaa
--- /dev/null
+++ b/bin/mirssi
@@ -0,0 +1,12 @@
+#!/bin/bash
+# start notification daemon
+# connect to server and open port
+# kill notification daemon
+
+PATH=$HOME/bin/:$PATH
+notify_irssi_server.pl &> /dev/null &
+pid=$!
+
+ssh -R 7090:localhost:7090 sleepmap
+
+kill $pid