modules/busybox: add `dhcprelay`

This enables to run a DHCP relay from multiple interfaces.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
pull/10/head
Raito Bezarius 2024-02-18 20:30:07 +01:00
parent cdafff2095
commit c14b2f6356
1 changed files with 15 additions and 17 deletions

View File

@ -32,23 +32,21 @@ let
(a: symlink "${busybox}/bin/busybox"); (a: symlink "${busybox}/bin/busybox");
minimalApplets = [ minimalApplets = [
# this is probably less minimal than it could be # this is probably less minimal than it could be
"arch" "ash" "base64" "basename" "bc" "brctl" "bunzip2" "bzcat" "arch" "ash" "base64" "basename" "bc" "brctl" "bunzip2" "bzcat" "bzip2"
"bzip2" "cal" "cat" "chattr" "chgrp" "chmod" "chown" "chpst" "cal" "cat" "chattr" "chgrp" "chmod" "chown" "chpst" "chroot" "clear" "cmp"
"chroot" "clear" "cmp" "comm" "cp" "cpio" "cut" "date" "dd" "df" "comm" "cp" "cpio" "cut" "date" "dhcprelay" "dd" "df" "dirname" "dmesg"
"dirname" "dmesg" "du" "echo" "egrep" "env" "expand" "expr" "du" "echo" "egrep" "env" "expand" "expr" "false" "fdisk" "fgrep" "find"
"false" "fdisk" "fgrep" "find" "free" "fuser" "grep" "gunzip" "free" "fuser" "grep" "gunzip" "gzip" "head" "hexdump" "hostname" "hwclock"
"gzip" "head" "hexdump" "hostname" "hwclock" "ifconfig" "ip" "ifconfig" "ip" "ipaddr" "iplink" "ipneigh" "iproute" "iprule" "kill"
"ipaddr" "iplink" "ipneigh" "iproute" "iprule" "kill" "killall" "killall" "killall5" "less" "ln" "ls" "lsattr" "lsof" "md5sum" "mkdir"
"killall5" "less" "ln" "ls" "lsattr" "lsof" "md5sum" "mkdir" "mknod" "mktemp" "mount" "mv" "nc" "netstat" "nohup" "od" "pgrep" "pidof"
"mknod" "mktemp" "mount" "mv" "nc" "netstat" "nohup" "od" "pgrep" "ping" "ping6" "pkill" "pmap" "printenv" "printf" "ps" "pwd" "readlink"
"pidof" "ping" "ping6" "pkill" "pmap" "printenv" "printf" "ps" "realpath" "reset" "rm" "rmdir" "route" "sed" "seq" "setsid" "sha1sum"
"pwd" "readlink" "realpath" "reset" "rm" "rmdir" "route" "sed" "sha256sum" "sha512sum" "sleep" "sort" "stat" "strings" "stty" "su" "sum"
"seq" "setsid" "sha1sum" "sha256sum" "sha512sum" "sleep" "sort" "swapoff" "swapon" "sync" "tail" "tee" "test" "time" "touch" "tr"
"stat" "strings" "stty" "su" "sum" "swapoff" "swapon" "sync" "traceroute" "traceroute6" "true" "truncate" "tty" "udhcpc" "umount"
"tail" "tee" "test" "time" "touch" "tr" "traceroute" "traceroute6" "uname" "unexpand" "uniq" "unlink" "unlzma" "unxz" "unzip" "uptime" "watch"
"true" "truncate" "tty" "udhcpc" "umount" "uname" "wc" "whoami" "xargs" "xxd" "xz" "xzcat" "yes" "zcat"
"unexpand" "uniq" "unlink" "unlzma" "unxz" "unzip" "uptime"
"watch" "wc" "whoami" "xargs" "xxd" "xz" "xzcat" "yes" "zcat"
]; ];
in { in {
options = { options = {