diff options
author | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-08-26 03:27:31 -0500 |
---|---|---|
committer | Epoch Qwert <epoch@53flpnlls43fcguy.onion> | 2014-08-26 03:27:31 -0500 |
commit | 5b723a9da5b94d3a99225f43c7dafcffa1f7676b (patch) | |
tree | 829b2cb71ee90b5346d9f8a36bdba9c55e921a5b /shell | |
parent | 1e023da47a5d0248808e33fb5feac18df6df3585 (diff) | |
download | segfault-5b723a9da5b94d3a99225f43c7dafcffa1f7676b.tar.gz segfault-5b723a9da5b94d3a99225f43c7dafcffa1f7676b.zip |
fixed the rand() seeding to use pid too so bots started in the same second don't generate the same random nick.
made shell use pkill stuff instead of kill `pgrep stuff`
Diffstat (limited to 'shell')
-rwxr-xr-x | shell | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,6 @@ #!/bin/sh #this is to keep stale tails from hanging around... -kill `pgrep -P 1 -f "tail -f /home/segfault/files/cmd_in"` +pkill -P 1 -f "tail -f /home/segfault/files/cmd_in" mkdir -p /home/segfault/files mkfifo /home/segfault/files/cmd_in mkfifo /home/segfault/files/cmd_out |