diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-12-22 21:18:30 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-12-22 21:18:39 -0500 |
commit | 649cc080d8708e7fc28d7f6538aceaa52bbd5c59 (patch) | |
tree | c95bd62fd06187fad663af3e1ec6f92c6550d2c4 /etc/network-setup.sh | |
parent | fixed emacs fonts (diff) |
track debian network configuration
Diffstat (limited to '')
-rwxr-xr-x | etc/network-setup.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/network-setup.sh b/etc/network-setup.sh new file mode 100755 index 0000000..bdcfed5 --- /dev/null +++ b/etc/network-setup.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +cd $(dirname $0) +sudo cp systemd/resolved.conf /etc/systemd +test -f /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf || sudo ln -s ~rak/.config/wpa_supplicant /etc/wpa_supplicant/wpa_supplicant-wlp3s0.conf +sudo systemctl enable wpa_supplicant@wlp3s0.service +sudo systemctl enable systemd-networkd +sudo systemctl restart wpa_supplicant@wlp3s0.service +sudo systemctl restart systemd-networkd +echo "If it works, then purge ifupdown" |