Skip to content
This repository has been archived by the owner on May 4, 2024. It is now read-only.

Commit

Permalink
Add SPL_HULKs config
Browse files Browse the repository at this point in the history
  • Loading branch information
Narcha committed Jul 5, 2023
1 parent dec9191 commit 0457736
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions recipes-hulks/network-config/network-config.bb
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
DEPENDS += "nao-wifi-conf"

SUMMARY = "Add systemd services to initially set ip address config"
LICENSE = "CLOSED"

SRC_URI = " \
file://id_map.json \
file://configure_network \
file://network-config.service \
file://SPL_HULKs.psk \
"

do_install() {
Expand All @@ -14,11 +17,14 @@ do_install() {
install -m 0755 ${WORKDIR}/configure_network ${D}${sbindir}/
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/network-config.service ${D}${systemd_unitdir}/system/
install -d ${D}/var/lib/iwd/
install -m 0600 ${WORKDIR}/SPL_HULKs.psk ${D}/var/lib/iwd/
}

FILES:${PN} = " \
${sysconfdir}/id_map.json \
${sbindir}/configure_network \
/var/lib/iwd/ \
"

SYSTEMD_SERVICE:${PN} = "network-config.service"
Expand Down
5 changes: 5 additions & 0 deletions recipes-hulks/network-config/network-config/SPL_HULKs.psk
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[Security]
Passphrase=Nao?!Nao?!

[Settings]
AutoConnect=false

0 comments on commit 0457736

Please sign in to comment.