mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-02 14:56:14 +08:00
7 lines
193 B
Bash
Executable File
7 lines
193 B
Bash
Executable File
#!/bin/bash
|
|
# raw_cmd $udid $path/to/cmd.plist
|
|
source $MICROMDM_ENV_PATH
|
|
endpoint="v1/commands/$1"
|
|
|
|
curl $CURL_OPTS -K <(cat <<< "-u micromdm:$API_TOKEN") --data "@$2" "$SERVER_URL/$endpoint"
|