2023-11-19 00:07:09 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2023-11-19 00:18:31 +00:00
|
|
|
systemctl --user stop freehl
|
2023-11-19 00:07:09 +00:00
|
|
|
|
|
|
|
find ./ -type f -name "server.cfg" -print | while read LINE
|
|
|
|
do
|
|
|
|
GAMEDIR=$(dirname "$LINE" | cut -d '/' -f 2)
|
|
|
|
|
2023-11-19 00:49:26 +00:00
|
|
|
if [ ! "$GAMEDIR" = "valve" ]
|
2023-11-19 00:07:09 +00:00
|
|
|
then
|
2023-11-19 00:18:31 +00:00
|
|
|
systemctl --user stop freehl@$GAMEDIR
|
2023-11-19 00:07:09 +00:00
|
|
|
fi
|
|
|
|
done
|