From 80839982e9983c6ccadbf57a44e60eeb0e535421 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 4 May 2024 20:26:13 +0200 Subject: kernel/rtl8139: prepare for /dev/eth/mac --- src/cmd/init/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/init') diff --git a/src/cmd/init/init.c b/src/cmd/init/init.c index 68268bf..2bef5d8 100644 --- a/src/cmd/init/init.c +++ b/src/cmd/init/init.c @@ -124,8 +124,8 @@ int main(void) { execv(argv[0], (void*)argv); } MOUNT_AT("/net/") { - const char *allow[] = {"/bin/netstack", "/dev/eth", NULL}; - const char *argv[] = {"/bin/netstack", "/dev/eth", "192.168.0.11", "192.168.0.2", NULL}; + const char *allow[] = {"/bin/netstack", "/dev/eth/", NULL}; + const char *argv[] = {"/bin/netstack", "/dev/eth/net", "192.168.0.11", "192.168.0.2", NULL}; MOUNT_AT("/") { fs_whitelist(allow); } execv(argv[0], (void*)argv); } -- cgit v1.2.3