From d8af2e6f85e35d7a00c21a69506cf54c744576bf Mon Sep 17 00:00:00 2001
From: Holden Rohrer
Date: Fri, 29 May 2020 15:12:00 -0400
Subject: using dhcpcd's wpa_supplicant hook
This removes the failure of an interface determiner in build.sh
---
src/etc/wpa_supplicant.conf | 17 +++++++++++++++++
src/etc/wpa_supplicant/wpa_supplicant.conf | 17 -----------------
src/usr/lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant | 1 +
3 files changed, 18 insertions(+), 17 deletions(-)
create mode 100644 src/etc/wpa_supplicant.conf
delete mode 100644 src/etc/wpa_supplicant/wpa_supplicant.conf
create mode 120000 src/usr/lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant
(limited to 'src')
diff --git a/src/etc/wpa_supplicant.conf b/src/etc/wpa_supplicant.conf
new file mode 100644
index 0000000..106bb82
--- /dev/null
+++ b/src/etc/wpa_supplicant.conf
@@ -0,0 +1,17 @@
+ctrl_interface=/var/run/wpa_supplicant
+update_config=1
+
+network={
+ ssid="404 Network Not Found"
+ psk="easypeasy"
+}
+
+network={
+ ssid="Bruh Moment"
+ psk="vroomvroom"
+}
+
+network={
+ key_mgmt=NONE
+ priority=-999
+}
diff --git a/src/etc/wpa_supplicant/wpa_supplicant.conf b/src/etc/wpa_supplicant/wpa_supplicant.conf
deleted file mode 100644
index 106bb82..0000000
--- a/src/etc/wpa_supplicant/wpa_supplicant.conf
+++ /dev/null
@@ -1,17 +0,0 @@
-ctrl_interface=/var/run/wpa_supplicant
-update_config=1
-
-network={
- ssid="404 Network Not Found"
- psk="easypeasy"
-}
-
-network={
- ssid="Bruh Moment"
- psk="vroomvroom"
-}
-
-network={
- key_mgmt=NONE
- priority=-999
-}
diff --git a/src/usr/lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant b/src/usr/lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant
new file mode 120000
index 0000000..24a1bce
--- /dev/null
+++ b/src/usr/lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant
@@ -0,0 +1 @@
+/usr/share/dhcpcd/hooks/10-wpa_supplicant
\ No newline at end of file
--
cgit