forked from exozyme/scripts
7 lines
136 B
Bash
Executable file
7 lines
136 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ "$1" = "A" ]; then
|
|
nmcli con mod 'Wired connection 1' ipv4.addresses "$2"
|
|
systemctl restart NetworkManager
|
|
fi
|