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
270ea07f
Unverified
Commit
270ea07f
authored
Sep 21, 2020
by
David Beniamine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gimaweb updated + installation script
parent
1d803410
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
gimaweb.sh
gimaweb.sh
+3
-2
install_gimaweb.sh
install_gimaweb.sh
+4
-0
update_configurations.sh
update_configurations.sh
+1
-0
No files found.
gimaweb.sh
View file @
270ea07f
...
...
@@ -2,7 +2,7 @@
if
[
-z
"
$(
which oathtool
)
"
]
then
apt-get update
apt-get
-y
install
oathtool
apt-get
-y
install
oathtool
fi
file
=
"/home/direction/Documents/Partages_Serveur/CONFIDENTIEL_DIRECTION/.gimaweb_secret.totp"
secret
=
$(
cat
$file
)
...
...
@@ -13,5 +13,6 @@ then
else
firefox https://gimaweb-demandes.lametro.fr/gima &
fi
sleep
5
code
=
$(
oathtool
--totp
--base32
$secret
)
zenity
--info
--text
"Votre code temporaire
est :
$code
"
--title
"Votre code TOTP
"
zenity
--info
--text
"Votre code temporaire
à copier est :
$code
"
--title
"Votre code TOTP est valide 30 secondes
"
install_gimaweb.sh
0 → 100755
View file @
270ea07f
#!/bin/bash
DIR
=
$(
realpath
$(
dirname
$0
))
cp
$DIR
/Demande_Batiment.desktop /home/direction/Bureau
update_configurations.sh
View file @
270ea07f
...
...
@@ -33,3 +33,4 @@ run_script fix_locales.sh
# run_script fix_network.sh
run_script fix_fsck.sh
run_script fix_proxy.sh
run_script install_gimaweb.sh
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