summaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd')
-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);
}