summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-network/module-setup.sh
diff options
context:
space:
mode:
authorJonathan Bauer2019-08-08 14:55:56 +0200
committerJonathan Bauer2019-08-08 14:55:56 +0200
commitce1558966a8481d04f1ff78c1b58a91740513e69 (patch)
tree58c2042c79d57eea8ecefb413c1da805203a033f /builder/modules.d/slx-network/module-setup.sh
parent[slx-network] support for dhcp in stage4 (diff)
downloadsystemd-init-ce1558966a8481d04f1ff78c1b58a91740513e69.tar.gz
systemd-init-ce1558966a8481d04f1ff78c1b58a91740513e69.tar.xz
systemd-init-ce1558966a8481d04f1ff78c1b58a91740513e69.zip
[slx-network] only care about main bootif
+ rdns
Diffstat (limited to 'builder/modules.d/slx-network/module-setup.sh')
-rwxr-xr-xbuilder/modules.d/slx-network/module-setup.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/builder/modules.d/slx-network/module-setup.sh b/builder/modules.d/slx-network/module-setup.sh
index 560b3e5c..20e1fc31 100755
--- a/builder/modules.d/slx-network/module-setup.sh
+++ b/builder/modules.d/slx-network/module-setup.sh
@@ -28,13 +28,14 @@ install() {
inst "${moddir}/scripts/udhcpc-trigger.stage3" "/usr/local/bin/udhcpc-trigger"
# files for stage4, park them in /opt/openslx
+ gcc -o "${initdir}/usr/local/bin/rdns" "${moddir}/rdns.c"
inst "${moddir}/scripts/setup-bootif-network.stage4" "/opt/openslx/scripts/setup-bootif-network.stage4"
inst "${moddir}/scripts/udhcpc-trigger.stage4" "/opt/openslx/scripts/udhcpc-trigger.stage4"
- inst "${moddir}/services/udhcpc@service" "/opt/openslx/services/udhcpc@service"
+ inst "${moddir}/services/udhcpc-bootif.service" "/opt/openslx/services/udhcpc-bootif.service"
# hooks
inst_hook cmdline 10 "${moddir}/hooks/parse-ipxe-network-kcl.sh"
- inst_hook pre-pivot 50 "${moddir}/hooks/copy-network-config.sh"
+ inst_hook pre-pivot 50 "${moddir}/hooks/copy-network-files.sh"
inst_hook pre-pivot 60 "${moddir}/hooks/activate-bootif-dhcp.sh"
}