From 649cc080d8708e7fc28d7f6538aceaa52bbd5c59 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Wed, 22 Dec 2021 21:18:30 -0500 Subject: track debian network configuration --- etc/network-setup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 etc/network-setup.sh (limited to 'etc/network-setup.sh') 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" -- cgit v1.2.3