6 lines
231 B
Text
6 lines
231 B
Text
|
#!/bin/bash
|
||
|
function feria_scrcpy() {
|
||
|
feria_mac='84:cf:bf:93:05:00'
|
||
|
feria_ip=$(arp -an | grep "${feria_mac}" | awk '{print($2)}' | sed 's/[\)\(]//g')
|
||
|
adb connect "${feria_ip}:5555" && scrcpy "--tcpip=${feria_ip}:5555"
|
||
|
}
|