Skip to content

ddns-start without python#11

Open
lpspot wants to merge 1 commit into
alphabt:masterfrom
lpspot:patch-1
Open

ddns-start without python#11
lpspot wants to merge 1 commit into
alphabt:masterfrom
lpspot:patch-1

Conversation

@lpspot

@lpspot lpspot commented May 6, 2024

Copy link
Copy Markdown

python used to parse the GET response json in order to get the RecordID is replaced with a grep -o and cut.
Works on ver. 386.13_2 / AC86u.

"comment" string added to the record update (PUT). Visible on cloudfront dashboard.

python used to parse the GET response json in order to get the RecordID is replaced with a grep -o and cut.

"comment" string added to the record update (PUT). Visible on cloudfront dashboard.
Comment thread ddns-start
data = json.load(sys.stdin)
for record in data['result']:
print (record['id'])"
-H "Content-Type:application/json" | grep -o '"id":"[^"]*' | cut -c 7-)"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to add echo $RESPONSE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants