add disable-services.sh
This commit is contained in:
parent
3a2383a524
commit
2123ee319b
2 changed files with 9 additions and 0 deletions
9
disable-services.sh
Executable file
9
disable-services.sh
Executable 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
0
enable-services.sh
Normal file → Executable file
Loading…
Reference in a new issue