diff options
author | epochqwert <epoch@53flpnlls43fcguy.onion> | 2015-02-07 03:43:14 -0600 |
---|---|---|
committer | epochqwert <epoch@53flpnlls43fcguy.onion> | 2015-02-07 03:43:14 -0600 |
commit | 04e1a88e14844fa692c6bb6b484a2a2d9207f194 (patch) | |
tree | ebd349be733506cbdb04db74846f5486a9ef8c86 /shell | |
parent | e80dd3006171b33705395b0c7547f03925670bf9 (diff) | |
download | segfault-04e1a88e14844fa692c6bb6b484a2a2d9207f194.tar.gz segfault-04e1a88e14844fa692c6bb6b484a2a2d9207f194.zip |
took out startup_stuff because server messages can be handled now. !alias !004 !raw join #defualt or whatever you want the bot to do.
Diffstat (limited to 'shell')
-rwxr-xr-x | shell | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |