summaryrefslogtreecommitdiff
path: root/src/cmd/init/init.c
diff options
context:
space:
mode:
authordzwdz2024-05-04 20:26:13 +0200
committerdzwdz2024-05-04 20:26:13 +0200
commit80839982e9983c6ccadbf57a44e60eeb0e535421 (patch)
treef342dffd1222f9ba8cbab0a95fa2afb0c9f56691 /src/cmd/init/init.c
parent8c7b8d9e4ec40c38c657851354fc74428f0df1ac (diff)
kernel/rtl8139: prepare for /dev/eth/mac
Diffstat (limited to 'src/cmd/init/init.c')
-rw-r--r--src/cmd/init/init.c4
1 files changed, 2 insertions, 2 deletions
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);
}