From 04e1a88e14844fa692c6bb6b484a2a2d9207f194 Mon Sep 17 00:00:00 2001 From: epochqwert Date: Sat, 7 Feb 2015 03:43:14 -0600 Subject: took out startup_stuff because server messages can be handled now. !alias !004 !raw join #defualt or whatever you want the bot to do. --- shell | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'shell') diff --git a/shell b/shell index 2d98edf..d9fd19c 100755 --- a/shell +++ b/shell @@ -1,7 +1,7 @@ #!/bin/sh #this is to keep stale tails from hanging around... -pkill -P 1 -f "tail -f /home/segfault/files/cmd_in" +pkill -P 1 -f "tail -f /home/segfault/files/sh_in" mkdir -p /home/segfault/files -mkfifo /home/segfault/files/cmd_in -mkfifo /home/segfault/files/cmd_out -exec setuidgid segfault tail -f /home/segfault/files/cmd_in | su -l segfault 2>&1 > /home/segfault/files/cmd_out 2>&1 +mkfifo /home/segfault/files/sh_in +mkfifo /home/segfault/files/sh_out +exec setuidgid segfault tail -f /home/segfault/files/sh_in | su -l segfault 2>&1 > /home/segfault/files/sh_out 2>&1 -- cgit v1.2.3