configurable busybox

allows modules to add to the busybox applets and change config
This commit is contained in:
Daniel Barlow
2023-03-10 18:40:45 +00:00
parent 8b2fcb5336
commit 225fc6fe51
10 changed files with 101 additions and 20 deletions

View File

@@ -1,7 +1,6 @@
{
liminix
, lib
, busybox
, ppp
, pppoe
, writeAshScript

View File

@@ -1,6 +1,5 @@
{
liminix
, busybox
, writeAshScript
, serviceFns
} :
@@ -43,7 +42,7 @@ let
'';
in longrun {
inherit name;
run = "${busybox}/bin/udhcpc -f -i ${interface.device} -x hostname:$(cat /proc/sys/kernel/hostname) -s ${script}";
run = "/bin/udhcpc -f -i ${interface.device} -x hostname:$(cat /proc/sys/kernel/hostname) -s ${script}";
notification-fd = 10;
dependencies = [ interface ] ++ dependencies;
}