chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bash-completion: update with new verbs and arguments
[elogind.git]
/
src
/
device.c
diff --git
a/src/device.c
b/src/device.c
index 41c96cef03f0c2344df2a8302977862275534676..bffeca0d10c7a857bb4ae1212799ad8fbbacdc42 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) {
@@
-580,10
+583,12
@@
DEFINE_STRING_TABLE_LOOKUP(device_state, DeviceState);
const UnitVTable device_vtable = {
.suffix = ".device",
const UnitVTable device_vtable = {
.suffix = ".device",
+ .sections =
+ "Unit\0"
+ "Device\0"
+ "Install\0",
.no_instances = true,
.no_instances = true,
- .no_snapshots = true,
- .no_isolate = true,
.init = device_init,
.init = device_init,