diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-05-29 15:12:00 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-05-29 15:13:28 -0400 |
commit | d8af2e6f85e35d7a00c21a69506cf54c744576bf (patch) | |
tree | 4456d988ce581bd7b98416ed4738168210ce76e2 | |
parent | 9823e672c0fe4048287b5ca311c8503bced71001 (diff) |
using dhcpcd's wpa_supplicant hook
This removes the failure of an interface determiner in build.sh
-rwxr-xr-x | build.sh | 1 | ||||
-rwxr-xr-x | config.sh | 4 | ||||
-rw-r--r-- | src/etc/wpa_supplicant.conf (renamed from src/etc/wpa_supplicant/wpa_supplicant.conf) | 0 | ||||
l--------- | src/usr/lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant | 1 |
4 files changed, 3 insertions, 3 deletions
@@ -29,7 +29,6 @@ sh source.sh grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB grub-mkconfig -o /boot/grub/grub.cfg mkinitcpio -P -systemctl enable wpa_supplicant@$(basename /sys/class/net/wl*) sed 's:#.*$::' services | xargs systemctl enable passwd @@ -4,12 +4,12 @@ for file in $(find src -type f); do export clean=$(echo $file | cut -c 4-) #Removes src prefix mkdir -p $(dirname $clean) - cp $file $clean + cp -P $file $clean done for file in $(find home -type f); do export clean=/home/${USE}$(echo $file | cut -c 5-) mkdir -p $(dirname $clean) - cp $file $clean + cp -P $file $clean done chown -R ${USE}:${USE} /home/${USE} diff --git a/src/etc/wpa_supplicant/wpa_supplicant.conf b/src/etc/wpa_supplicant.conf index 106bb82..106bb82 100644 --- a/src/etc/wpa_supplicant/wpa_supplicant.conf +++ b/src/etc/wpa_supplicant.conf 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 |