chiark / gitweb /
systemctl: switch-root - read init= from /proc/cmdline
authorTom Gundersen <teg@jklm.no>
Wed, 21 Nov 2012 22:22:03 +0000 (23:22 +0100)
committerTom Gundersen <teg@jklm.no>
Fri, 28 Dec 2012 22:37:18 +0000 (23:37 +0100)
If the path to init is not specified as an argumnt to systemctl, but
init= is given on the kernel commandline, use that.

This means the initrd does not need glue code to parse the kernel
commandline before passing on init= to systemctl.

Cc: Harald Hoyer <harald@redhat.com>
Cc: Dave Reisner <dreisner@archlinux.org>

No differences found