13 lines
241 B
Bash
13 lines
241 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
systemctl --user restart freehl
|
||
|
|
||
|
find ./ -type f -name "server.cfg" -print | while read LINE
|
||
|
do
|
||
|
GAMEDIR=$(dirname "$LINE" | cut -d '/' -f 2)
|
||
|
|
||
|
if [ "$GAMEDIR" != "valve" ]
|
||
|
then
|
||
|
systemctl --user restart freehl@$GAMEDIR
|
||
|
fi
|
||
|
done
|