autostart Hlds
hello
i've got i slight problem. when i try to autostart hlds using rc.local the server hangs after the server tries to load banned.cfg
i have used a script like this
#!/bin/sh
# this is run-hl.sh
cd /home/ncore/hlds_l
export LD_LIBRARY_PATH=/ncore/hlds_l:$LD_LIBRARY_PATH
while true
do
./hlds_run -game cstrike +mapchangecfgfile "server.cfg" -pingboost 2
# in case it crashed, let's wait for 10 secs before looping
sleep 10s
done
and in the rc.local i have put
/bin/su -c "/home/ncore/run-hl.sh" -l ncore
hlds is owned by ncore and the group ncore is a member of
i am running slackware 9.1 with the 2.6.2 kernel if that info helps
please help
|