summaryrefslogtreecommitdiff
path: root/cmd
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 /cmd
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 'cmd')
-rwxr-xr-xcmd3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd b/cmd
new file mode 100755
index 0000000..0756f84
--- /dev/null
+++ b/cmd
@@ -0,0 +1,3 @@
+#!/bin/sh
+export PATH=$PATH:/usr/pkg/bin:/usr/local/bin:/usr/pkg/sbin:/usr/local/sbin
+exec tail -n1 /home/segfault/files/cmd_in | setuidgid segfault bash 2>&1 > /home/segfault/files/cmd_out 2>&1