ipaddr.sh 103 B

123456
  1. #!/usr/bin/env bash
  2. ipaddr=$(wpa_cli status | grep ip_address | cut -d "=" -f 2)
  3. echo "IPA: $ipaddr"