Ignore 'valve' in the other scripts as far as mods are concerned
This commit is contained in:
parent
0207013b81
commit
adb1298df4
3 changed files with 15 additions and 3 deletions
|
@ -5,5 +5,9 @@ systemctl disable 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 disable freehl@$GAMEDIR
|
||||
fi
|
||||
done
|
|
@ -5,5 +5,9 @@ systemctl --user enable 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 enable freehl@$GAMEDIR
|
||||
fi
|
||||
done
|
|
@ -5,5 +5,9 @@ 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
|
Loading…
Reference in a new issue