11 lines
205 B
Nix
11 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}";
|
|
}
|