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