projects
/
connman
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a67148
)
Disable the inotify for hostname changes
author
Marcel Holtmann
<marcel@holtmann.org>
Thu, 23 Apr 2009 11:04:46 +0000
(12:04 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 23 Apr 2009 11:04:46 +0000
(12:04 +0100)
plugins/loopback.c
patch
|
blob
|
history
diff --git
a/plugins/loopback.c
b/plugins/loopback.c
index
deaaac2
..
7225812
100644
(file)
--- a/
plugins/loopback.c
+++ b/
plugins/loopback.c
@@
-39,6
+39,7
@@
#include <connman/plugin.h>
#include <connman/log.h>
+#if 0
static GIOChannel *inotify_channel = NULL;
static int hostname_descriptor = -1;
@@
-133,6
+134,7
@@
static void remove_watch(void)
close(fd);
}
+#endif
static int setup_hostname(void)
{
@@
-233,14
+235,14
@@
static int loopback_init(void)
setup_hostname();
- create_watch();
+ //create_watch();
return 0;
}
static void loopback_exit(void)
{
- remove_watch();
+ //remove_watch();
}
CONNMAN_PLUGIN_DEFINE(loopback, "Loopback device plugin", VERSION,