10 lines
205 B
Nix
10 lines
205 B
Nix
{
|
|
liminix
|
|
, busybox
|
|
} :
|
|
let inherit (liminix.services) longrun;
|
|
in
|
|
interface: { ... } @ args: longrun {
|
|
name = "${interface.device}.udhcp";
|
|
run = "${busybox}/bin/udhcpc -f -i ${interface.device}";
|
|
}
|