This commit is contained in:
parent
2f5a5bced9
commit
7d8dee158d
2 changed files with 6 additions and 0 deletions
5
modules/dhcpcd.lua
Normal file
5
modules/dhcpcd.lua
Normal 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
|
||||
]])
|
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue