Simplify switch_root.c a bit
authorVictor Lowther <victor.lowther@gmail.com>
Sat, 7 Mar 2009 04:32:37 +0000 (22:32 -0600)
committerVictor Lowther <victor.lowther@gmail.com>
Sat, 7 Mar 2009 04:32:37 +0000 (22:32 -0600)
commitfaf882394be4434bdd8a385145e274a6264b95ba
treeeb85ddc25fc1825c67105707dcacc18ea2a084a3
parent47507b21a82c1c20308a8163c0b68bf4ff0a72ec
Simplify switch_root.c a bit

Shift some required functionality from switch_root.c to init.

String manipulation and filtering, and testing for the existence of init
is easier in the init script than in C.
modules.d/99base/init
switch_root.c