SMR_TP_reactive/scripts/netconfig.sh
2019-12-08 17:01:53 +01:00

5 lines
97 B
Bash
Executable File

# add ip address to ethernet interface
ip addr add 192.168.0.$1 dev eth0
ip link set eth0 up