udevmand: move the code directly into the repo

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2025-09-07 10:04:06 +02:00
parent 20a7a48c9f
commit cbf0e536df
15 changed files with 2247 additions and 8 deletions

View File

@@ -0,0 +1,37 @@
/*
* Copyright (C) 2020 John Crispin <john@phrozen.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 2.1
* as published by the Free Software Foundation
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#include "udevmand.h"
int main(int argc, char **argv)
{
ulog_open(ULOG_STDIO, LOG_DAEMON, "udevmand");
uloop_init();
ubus_init();
ethers_init();
neigh_init();
bridge_init();
dhcp_init();
uloop_run();
uloop_done();
ubus_uninit();
bridge_flush();
blob_buf_free(&b);
neigh_done();
interface_done();
dhcp_done();
iface_done();
return 0;
}