Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mad
concierge
Commits
ef3748ef
Commit
ef3748ef
authored
Feb 16, 2016
by
gnomus
Browse files
add tresor
parent
2ddd44d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
dooris.conf.sample
View file @
ef3748ef
password=sesamaenderdich
password=sesamaenderdich
tresor=1111
shared
View file @
ef3748ef
...
@@ -12,3 +12,8 @@ password="$(grep password ${basedir}/${config} 2>/dev/null|cut -d= -f2|tr -d ' \
...
@@ -12,3 +12,8 @@ password="$(grep password ${basedir}/${config} 2>/dev/null|cut -d= -f2|tr -d ' \
if
[
-z
"
${
password
}
"
]
;
then
if
[
-z
"
${
password
}
"
]
;
then
echo
"WARNING: password in
${
config
}
is missing!"
>
&2
echo
"WARNING: password in
${
config
}
is missing!"
>
&2
fi
fi
tresor
=
"
$(
grep
tresor
${
basedir
}
/
${
config
}
2>/dev/null|cut
-d
=
-f2
|tr
-d
' \t'
)
"
if
[
-z
"
${
password
}
"
]
;
then
echo
"WARNING: tresor in
${
config
}
is missing!"
>
&2
fi
tresor
0 → 100755
View file @
ef3748ef
#!/bin/sh
.
$(
dirname
$(
readlink
"
$0
"
))
/shared
echo
"Welcome to the Vault!"
echo
"---------------------"
echo
"Your Key is:
${
tresor
}
"
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