Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Primtux-Eole
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Grenoble
Primtux-Eole
Commits
9d70b8c5
Unverified
Commit
9d70b8c5
authored
Sep 16, 2019
by
David Beniamine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixups
parent
6e70dad6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
refreshVP.sh
refreshVP.sh
+3
-2
No files found.
refreshVP.sh
View file @
9d70b8c5
...
...
@@ -21,7 +21,7 @@ DEBUG=true
log
(){
if
$DEBUG
then
echo
"
$@
"
|
tee
/var/log/vp.log
echo
"
$@
"
|
tee
-a
/var/log/vp.log
fi
}
log
"starting VP
$(
date
)
"
...
...
@@ -30,6 +30,7 @@ user=$(who | grep -v "root" | head -n 1 | cut -d ' ' -f 1)
if
[
!
-z
"
$user
"
]
then
export
DISPLAY
=
:0
export
LC_ALL
=
"fr_FR.utf8"
export
XAUTHORITY
=
"/home/
$user
/.Xauthority"
fi
...
...
@@ -197,7 +198,7 @@ then
if
[
"
$code
"
-eq
1
]
then
# give up
return
exit
else
# timeout
log
"timeout"
...
...
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