just type quit?
Type: Posts; User: kung foo man
just type quit?
Looks like your LD_PRELOAD is still global from a previous test, restart putty (and/or restart screen session) and try this:
#!/bin/bash
#
# call of duty 2 auto restart script.
#...
Since you export LD_PRELOAD globally, it tells the LD linker to inject libcod.so into *every* process called in your shell script (cat, tail, mkdir and whatnot). So the linker is now supposed to link...
You can't go "into" the screen, you just can append commands to it via screen -x hjsd -p 0 -X stuff "echo hi\n"
Just put this into a hjsd.sh:
cd /home/olger/HIGHJUMP/
export...
screen -AmdS cod2pub
screen -S cod2pub -p 0 -X stuff "/home/cod2/cod2/cod2_lnxded +set net_port 28960 +exec server.cfg +fs_homepath /home/cod2/cod2/
"
Works ever, on all versions. ^^