2024-10-10
This commit is contained in:
15
install/multiOJ.sh
Executable file
15
install/multiOJ.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
function judge_round(){
|
||||
|
||||
for config in `sudo find -O2 "$1" -maxdepth 4 -name judge.conf`
|
||||
do
|
||||
etc=`dirname "$config"`
|
||||
home=`dirname "$etc"`
|
||||
sudo judged "$home" debug 1
|
||||
sleep 1
|
||||
done
|
||||
}
|
||||
while [ 1 ]
|
||||
do
|
||||
judge_round $1
|
||||
sleep 2
|
||||
done
|
||||
Reference in New Issue
Block a user