Userspace: Implement super simple DHCP client

This commit is contained in:
2024-02-03 02:41:06 +02:00
parent 102aa50a41
commit 2138eeb87f
4 changed files with 403 additions and 0 deletions

View File

@@ -29,6 +29,12 @@ int main()
if (load_keymap("/usr/share/keymaps/fi.keymap") == -1)
perror("load_keymap");
if (fork() == 0)
{
execl("/bin/dhcp-client", "dhcp-client", NULL);
exit(1);
}
bool first = true;
termios termios;