add disable-services.sh

This commit is contained in:
Marco Cawthorne 2023-11-18 15:59:11 -08:00
parent 3a2383a524
commit 2123ee319b
Signed by: eukara
GPG key ID: CE2032F0A2882A22
2 changed files with 9 additions and 0 deletions

9
disable-services.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
systemctl disable freehl
find ./ -type f -name "server.cfg" -print | while read LINE
do
GAMEDIR=$(dirname "$LINE" | cut -d '/' -f 2)
echo systemctl disable freehl@$GAMEDIR
done

0
enable-services.sh Normal file → Executable file
View file