Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FUSS
fuss-client
Commits
2221c62d
Verified
Commit
2221c62d
authored
Mar 17, 2022
by
Marco Marinello
Browse files
Added support for exclusion file and sync disable
parent
e140334a
Pipeline
#259
passed with stage
in 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ansible/roles/veyon/files/veyonStart
View file @
2221c62d
...
...
@@ -21,8 +21,7 @@
# Stop system-wide Veyon daemon
systemctl stop veyon
# This file is recovered by a daemon from the FUSS Server, if it
# doesn't exists, will default as below.
wget
-O
/var/lib/fuss-client/veyon-excluded-groups http://proxy/veyon/excluded_groups
||
rm
-f
/var/lib/fuss-client/veyon-excluded-groups
if
[
-e
/var/lib/fuss-client/veyon-excluded-groups
]
;
then
EXCLUDED_GROUPS
=
"
$(
xargs < /var/lib/fuss-client/veyon-excluded-groups
)
"
else
...
...
@@ -36,7 +35,7 @@ BELONGING_GROUPS=" $(id -nG $USER) "
for
group
in
$EXCLUDED_GROUPS
;
do
if
echo
"
$BELONGING_GROUPS
"
|
grep
"
$group
"
;
then
python3 /usr/share/fuss-client/roles/veyon/files/veyon-sync-pc-list
||
true
[
-f
/var/lib/fuss-client/no-veyon-sync
]
&&
(
python3 /usr/share/fuss-client/roles/veyon/files/veyon-sync-pc-list
||
true
)
exit
0
fi
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment