Hi
Ive got a prob with LOCKDIR…i think i set it wrong but am not sure.
#!/bin/sh
LOCKFILE=notify.lock
LOCKDIR=var
#LOCKDIR=/usr/local/games/enemy_territory/etadmin_mod/tools/locks
Lock this script at least 30 minutes
LOCK=find $LOCKDIR/ -cmin -30 -name $LOCKFILE
if ( test -z “$LOCK” ) then
# OK
touch $LOCKDIR/$LOCKFILE
I dont know what to put in there. I tired to use that /etadmin_mod/tools/locks but ive got no tools or lock folders along with the etadmin_mod. I rent the game server so usually my dirs look like …/nq/ or …/etadmin_mod/ but what is that LOCKDIR for? Is that some place where !admin will be stored? When i check the etadmin log i got Permission denied info.