vpd_get_value.sh 293 B

123456789101112
  1. #!/bin/bash
  2. source "/mnt/stateful_partition/mwtrollinggoogleforfakemurk_VPD"
  3. if [[ $# -eq 0 ]]; then
  4. echo "AWH HAIL NAH WHERE IS THE VALUE YOU WANT ME TO GET"
  5. elif [[ $# -eq 1 ]]; then
  6. echo -n "${!1}"
  7. else
  8. echo "gimme one value to give you. or i will continue printing this."
  9. fi