summaryrefslogtreecommitdiff
path: root/src/basic/util.h
diff options
context:
space:
mode:
authorIvan Shapovalov <intelfx@intelfx.name>2016-06-13 18:28:42 +0400
committerLennart Poettering <lennart@poettering.net>2016-06-13 16:28:42 +0200
commitdcd61450026c281c916f12c2affa220e0994ba19 (patch)
treec860dab75fc7750b38c4752c87dfd19f82a48b47 /src/basic/util.h
parent68884a0b8a29ce8a7c2a2671b84e2c7b9c6cb674 (diff)
core: parse `rd.rescue` and `rd.emergency` as initrd-specific shorthands (#3488)
Typing `rd.rescue` is easier than `rd.systemd.unit=rescue.target`.
Diffstat (limited to 'src/basic/util.h')
-rw-r--r--src/basic/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/util.h b/src/basic/util.h
index 1c032c15c9..9e6df19ef1 100644
--- a/src/basic/util.h
+++ b/src/basic/util.h
@@ -86,6 +86,7 @@ int prot_from_flags(int flags) _const_;
int fork_agent(pid_t *pid, const int except[], unsigned n_except, const char *path, ...);
bool in_initrd(void);
+void in_initrd_force(bool value);
void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size,
int (*compar) (const void *, const void *, void *),