define-alpine/modules/dhcpcd.lua

6 lines
201 B
Lua

add_packages({ "dhcpcd" })
add_symlink("/etc/resolv.conf", "/run/resolv.conf")
modules.fstab.add_tmpfs("/var/lib/dhcpcd")
modules.runit.add_service("dhcpcd", [[#!/bin/sh
exec dhcpcd --nobackground
]])