Skip to content

Commit 3b12474

Browse files
erikngjessepeterson
authored andcommitted
Sync dep devices tool (micromdm#481)
* add DS_Store files to gitignore * add sync_dep_devices tool
1 parent d7fde4f commit 3b12474

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
vendor/
22
build/
33
*.zip
4+
*.DS_Store
45

56
cmd/mdmctl/mdmdctl
67
cmd/micromdm/micromdm

tools/api/sync_dep_devices

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash
2+
source $MICROMDM_ENV_PATH
3+
endpoint="v1/dep/syncnow"
4+
curl $CURL_OPTS -u "micromdm:$API_TOKEN" -X POST "$SERVER_URL/$endpoint"

0 commit comments

Comments
 (0)