summaryrefslogtreecommitdiff
path: root/repo/util
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-30 17:54:09 +0100
committerdavidovski <david@davidovski.xyz>2022-03-30 17:54:09 +0100
commitde16da348671bd797500ab144ae56d23e88c7463 (patch)
tree728ec7d354049c977b34d9693109cd5683992a30 /repo/util
parent9ae31d6c582fbb636625a87d0921fd914f33c05e (diff)
fixed initd files
Diffstat (limited to 'repo/util')
-rw-r--r--repo/util/wpa_supplicant.xibuild14
1 files changed, 11 insertions, 3 deletions
diff --git a/repo/util/wpa_supplicant.xibuild b/repo/util/wpa_supplicant.xibuild
index a9dca1f..294a9f4 100644
--- a/repo/util/wpa_supplicant.xibuild
+++ b/repo/util/wpa_supplicant.xibuild
@@ -69,9 +69,17 @@ package () {
$PKG_DEST/etc/dbus-1/system.d/wpa_supplicant.conf
cd ..
- tar xf $BOOTSCRIPTS.tar.xz
- cd $BOOTSCRIPTS
- make DESTDIR=$PKG_DEST install-service-wpa
+
+ # openrc runscripts
+ install -Dm755 wpa_supplicant.initd \
+ $PKG_DEST/etc/init.d/wpa_supplicant
+ install -Dm644 wpa_supplicant.confd \
+ $PKG_DEST/etc/conf.d/wpa_supplicant
+ install -Dm755 wpa_cli.initd \
+ $PKG_DEST/etc/init.d/wpa_cli
+ install -Dm644 wpa_cli.confd \
+ $PKG_DEST/etc/conf.d/wpa_cli
+
}