It may be useful to pass args to mount_root start call. One usecase
might be pass additional configuration to enable special option on
mounting rootfs. Change main logic and permit additional args when start
is used.
No functional change intended as the default behaviour is saved by
continuing to call start if no args are provided.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
int main(int argc, char **argv)
{
- if (argc < 2)
+ if (argc < 2) || (!strcmp(argv[1], "start"))
return start(argc, argv);
if (!strcmp(argv[1], "ram"))
return ramoverlay();