Tiny script (one line) to add an ip address to the usb jolla
This commit is contained in:
parent
85585fe396
commit
078bc2da93
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
localIp='192.168.1.10/24'
|
||||
localBroadcast='192.168.1.255'
|
||||
netAdp=$1
|
||||
|
||||
sudo ip addr add $localIp broadcast $localBroadcast dev $netAdp
|
Loading…
Reference in New Issue