Commit 2e1b254a authored by German Leon's avatar German Leon
Browse files

Primera desde jn2

parent 8b3090e8
#!/bin/bash
#IP=$(ifconfig l4tbr0 |grep inet|head -1|cut -f2 -dt|cut -f1 -dn|cut -f2 -d\ )
#IP=$(hostname -I)
IP=$(grep net_ip= /opt/nvidia/l4t-usb-device-mode/nv-l4t-usb-device-mode-config.sh|cut -d= -f2)
HOSTID=$(hostid)
echo "=========="$IP"===========" >> id.log
echo "IP:"$IP
echo "HOSTID":$HOSTID
echo "MAC:"$(cat /sys/class/net/eth0/address)
echo "HOSTNAME:"$HOSTNAME
export $HOSTNAME
$MYHOME/bin/status.sh
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment