title: Turning a bash script into a busybox script
body: <p>I am working on a device that only has busybox (ash?) and does not support bash. However, I need to run the bash script below on it. Is it possible or busybox simply does not support scripts?</p>
  
  <pre><code>#!/bin/bash
  
  domain="mydomain.com"
  record="11019653"
  api_key="key1234"
  
  ip="$(curl http://ipecho.net/plain)"
  
  echo content="$(curl \
      -k \
      -H "Authorization: Bearer $api_key" \
      -H "Content-Type: application/json" \
      -d '{"data": "'"$ip"'"}' \
      -X PUT "https://api.digitalocean.com/v2/domains/$domain/records/$record")"
  </code></pre>