- return -retval;
-}
-
-int main(int argc, char **argv, char **envp)
-{
- main_argv = argv;
- main_envp = envp;
- int retval;
-
- dbg("version %s", UDEV_VERSION);
-
- /* initialize our configuration */
- udev_init_config();
-
- if (argc == 2 && argv[1][0] != '-') {
- dbg("called by hotplug");
- retval = udev_hotplug(argc, argv);
- } else {
- dbg("called by user");
- retval = udev_user(argc, argv);
- }
-