Modulo dhcpcd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2022-06-17 22:57:10 -03:00
parent 2f5a5bced9
commit 7d8dee158d
2 changed files with 6 additions and 0 deletions

5
modules/dhcpcd.lua Normal file
View file

@ -0,0 +1,5 @@
add_packages({ "dhcpcd" })
add_symlink("/etc/resolv.conf", "/run/resolv.conf")
modules.runit.add_service("dhcpcd", [[#!/bin/sh
exec dhcpcd --nobackground
]])

View file

@ -47,6 +47,7 @@ end
module "kernel"
module "runit"
module "hostname"
module "dhcpcd"
print("=> Writing fstab...")
add_file("/etc/fstab", utils.join_table(mounts, "\n"))