blob: d74b62efd4143acac05d95f3a612d239f1915e8d (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/bash
set -e
cd "$( dirname "${BASH_SOURCE[0]}" )"
sudo ifdown enp0s4 2&>1 >> /dev/null /dev/null || true
sudo ifdown enp0s6 2&>1 >> /dev/null /dev/null || true
sudo cp ../templates/ifcfg-* /etc/network/interfaces.d/
sudo ifup enp0s4
sudo ifup enp0s6
|