summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorepochqwert <epoch@53flpnlls43fcguy.onion>2015-02-07 03:43:14 -0600
committerepochqwert <epoch@53flpnlls43fcguy.onion>2015-02-07 03:43:14 -0600
commit04e1a88e14844fa692c6bb6b484a2a2d9207f194 (patch)
treeebd349be733506cbdb04db74846f5486a9ef8c86 /shell
parente80dd3006171b33705395b0c7547f03925670bf9 (diff)
downloadsegfault-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-xshell8
1 files changed, 4 insertions, 4 deletions
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