add tresor
This commit is contained in:
parent
2ddd44d402
commit
ef3748efcd
|
@ -1 +1,2 @@
|
||||||
password=sesamaenderdich
|
password=sesamaenderdich
|
||||||
|
tresor=1111
|
||||||
|
|
5
shared
5
shared
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue