core: parse rd.rescue and rd.emergency as initrd-specific shorthands (#3488)

Typing `rd.rescue` is easier than `rd.systemd.unit=rescue.target`.
This commit is contained in:
Ivan Shapovalov
2016-06-13 16:28:42 +02:00
committed by Lennart Poettering
parent 68884a0b8a
commit dcd6145002
7 changed files with 50 additions and 18 deletions
+1
View File
@@ -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 *),