From fcfe2bc86c7044d14dfa31aa1f8cf887f947dd1c Mon Sep 17 00:00:00 2001 From: "kepler155c@gmail.com" Date: Mon, 25 Sep 2017 17:10:24 -0400 Subject: [PATCH] better startup --- sys/boot/multishell.boot | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/boot/multishell.boot b/sys/boot/multishell.boot index bbdfc57..2d22df9 100644 --- a/sys/boot/multishell.boot +++ b/sys/boot/multishell.boot @@ -46,8 +46,6 @@ end fs.loadTab('usr/etc/fstab') local args = { ... } -if #args == 0 then - args = { 'sys/apps/shell', 'sys/apps/multishell' } -end +args[1] = args[1] or 'sys/apps/multishell' -run(table.unpack(args)) +run('sys/apps/shell', table.unpack(args))