define-alpine/modules/dhcpcd.lua

7 lines
201 B
Lua
Raw Permalink Normal View History

2022-06-18 01:57:10 +00:00
add_packages({ "dhcpcd" })
add_symlink("/etc/resolv.conf", "/run/resolv.conf")
2022-06-18 18:24:12 +00:00
modules.fstab.add_tmpfs("/var/lib/dhcpcd")
2022-06-18 01:57:10 +00:00
modules.runit.add_service("dhcpcd", [[#!/bin/sh
exec dhcpcd --nobackground
]])