define-alpine/modules/dhcpcd.lua

6 lines
158 B
Lua
Raw Normal View History

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