Commit fd64c208 authored by Markus Lippert's avatar Markus Lippert
Browse files

store device ID

parent 80f1034d
...@@ -39,6 +39,7 @@ synology_dsm_deploy() { ...@@ -39,6 +39,7 @@ synology_dsm_deploy() {
_getdeployconf SYNO_Username _getdeployconf SYNO_Username
_getdeployconf SYNO_Password _getdeployconf SYNO_Password
_getdeployconf SYNO_Create _getdeployconf SYNO_Create
_getdeployconf SYNO_DID
if [ -z "$SYNO_Username" ] || [ -z "$SYNO_Password" ]; then if [ -z "$SYNO_Username" ] || [ -z "$SYNO_Password" ]; then
SYNO_Username="" SYNO_Username=""
SYNO_Password="" SYNO_Password=""
...@@ -100,6 +101,7 @@ synology_dsm_deploy() { ...@@ -100,6 +101,7 @@ synology_dsm_deploy() {
# Now that we know the username and password are good, save them # Now that we know the username and password are good, save them
_savedeployconf SYNO_Username "$SYNO_Username" _savedeployconf SYNO_Username "$SYNO_Username"
_savedeployconf SYNO_Password "$SYNO_Password" _savedeployconf SYNO_Password "$SYNO_Password"
_savedeployconf SYNO_DID "$SYNO_DID"
_debug token "$token" _debug token "$token"
_info "Getting certificates in Synology DSM" _info "Getting certificates in Synology DSM"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment