aboutsummaryrefslogtreecommitdiff
path: root/src/sysbin
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-16 18:07:24 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-16 18:07:24 +0200
commitbb2dd23f315bafa7b0b64845c2fe25d7a0893b10 (patch)
tree51657cd1ad8b6f1d5941604e75c251a246809034 /src/sysbin
parent3d6a857b9186ef6304ea6cf04627c2b787169f29 (diff)
downloadkogata-bb2dd23f315bafa7b0b64845c2fe25d7a0893b10.tar.gz
kogata-bb2dd23f315bafa7b0b64845c2fe25d7a0893b10.zip
Got Lua running \o/
Diffstat (limited to 'src/sysbin')
-rw-r--r--src/sysbin/login/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sysbin/login/main.c b/src/sysbin/login/main.c
index c4cd260..d86eb39 100644
--- a/src/sysbin/login/main.c
+++ b/src/sysbin/login/main.c
@@ -41,7 +41,8 @@ int main(int argc, char **argv) {
&& sc_bind_fd(shell_pid, STD_FD_TTY_STDIO, tc.b);
if (!ok) PANIC("[login] Could not bind to shell process.");
- ok = sc_proc_exec(shell_pid, "sys:/bin/shell.bin");
+ // ok = sc_proc_exec(shell_pid, "sys:/bin/shell.bin");
+ ok = sc_proc_exec(shell_pid, "root:/bin/lua.bin");
if (!ok) PANIC("[login] Could not run shell.bin");
proc_status_t s;