Skip to content
Snippets Groups Projects
Commit 2b44f6d2 authored by Elisa Giglio's avatar Elisa Giglio
Browse files

modificato inet in grep

parent e5133722
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@
#questo script bash permette di estrapolare l'indirizzo IP della beaglebone
declare -i index=0
for i in `ifconfig eth0 | grep "inet 192.168.1"`
for i in `ifconfig eth0 | grep "inet 192.168."`
do
if [[ $index -eq 1 ]]
then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment