chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure: Add --enable-plymouth option
[elogind.git]
/
src
/
device.c
diff --git
a/src/device.c
b/src/device.c
index 41c96cef03f0c2344df2a8302977862275534676..64b21903edd848f185f745bd5f58b94d44b23a09 100644
(file)
--- a/
src/device.c
+++ b/
src/device.c
@@
-70,6
+70,9
@@
static void device_init(Unit *u) {
* happen for the other units since their operations time out
* anyway. */
d->meta.job_timeout = DEFAULT_TIMEOUT_USEC;
* happen for the other units since their operations time out
* anyway. */
d->meta.job_timeout = DEFAULT_TIMEOUT_USEC;
+
+ d->meta.ignore_on_isolate = true;
+ d->meta.ignore_on_snapshot = true;
}
static void device_done(Unit *u) {
}
static void device_done(Unit *u) {
@@
-582,8
+585,6
@@
const UnitVTable device_vtable = {
.suffix = ".device",
.no_instances = true,
.suffix = ".device",
.no_instances = true,
- .no_snapshots = true,
- .no_isolate = true,
.init = device_init,
.init = device_init,