chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move code to its own files
[elogind.git]
/
udevstart.c
diff --git
a/udevstart.c
b/udevstart.c
index 4ef92fd537cc3dde1521f13c1dbd698f370397cd..0bcbc3973723d605987c31c44b1d8a1903dd0e5e 100644
(file)
--- a/
udevstart.c
+++ b/
udevstart.c
@@
-2,10
+2,12
@@
* udevstart.c
*
* Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com>
* udevstart.c
*
* Copyright (C) 2004 Greg Kroah-Hartman <greg@kroah.com>
- *
+ * Copyright (C) 2004 Kay Sievers <kay@vrfy.org>
+ *
* Quick and dirty way to populate a /dev with udev if your system
* Quick and dirty way to populate a /dev with udev if your system
- * does not have access to a shell. Based originally on a patch to udev
- * from Harald Hoyer <harald@redhat.com>
+ * does not have access to a shell. Based originally on a patch
+ * from:
+ * Harald Hoyer <harald@redhat.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@
-41,8
+43,8
@@
#include "udev.h"
#include "udev_version.h"
#include "logging.h"
#include "udev.h"
#include "udev_version.h"
#include "logging.h"
-#include "udev_rules.h"
#include "udev_utils.h"
#include "udev_utils.h"
+#include "udev_rules.h"
#include "list.h"
static const char *udev_run_str;
#include "list.h"
static const char *udev_run_str;
@@
-359,7
+361,7
@@
int main(int argc, char *argv[], char *envp[])
sigaction(SIGTERM, &act, NULL);
/* trigger timeout to prevent hanging processes */
sigaction(SIGTERM, &act, NULL);
/* trigger timeout to prevent hanging processes */
- alarm(ALARM_TIMEOUT);
+ alarm(
UDEV_
ALARM_TIMEOUT);
udev_rules_init(&rules, 1);
udev_rules_init(&rules, 1);