diff --git a/bin/busybox b/bin/busybox.js similarity index 100% rename from bin/busybox rename to bin/busybox.js diff --git a/js/console.js b/js/console.js index 02c6480..e5b1fd5 100644 --- a/js/console.js +++ b/js/console.js @@ -99,16 +99,16 @@ require(["js/term.js-0.0.7/src/term.js"], function () { } else { receivedServiceVersion = true; term.write(e.data.text.replace('\n', '\r\n')); - spawn('bin/busybox', { + spawn('bin/busybox.js', { 'pid': 0, 'cookie': 0, 'command': 'spawn', - 'file': 'bin/busybox', + 'file': 'bin/busybox.js', 'args': ['/bin/sh'] }); } } else if (e.data.command == 'spawn') { - spawn('bin/busybox', e.data); // TODO: process e.data.file + spawn('bin/busybox.js', e.data); // TODO: process e.data.file } };