aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh1
-rwxr-xr-xconfig.sh4
-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_supplicant1
4 files changed, 3 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 7c2291b..f466004 100755
--- a/build.sh
+++ b/build.sh
@@ -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
diff --git a/config.sh b/config.sh
index 5fac5ed..d13189a 100755
--- a/config.sh
+++ b/config.sh
@@ -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