Loading src/tty.cpp +4 −3 Changes for src/tty.cpp: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -27,9 +27,10 @@ namespace syslite { std::string ttyName = device; if (ttyName.substr(0, 5) == "/dev/") ttyName = ttyName.substr(5); // toybox getty is symlinked at /sbin/getty by the OS build. // toybox getty expects: getty [OPTIONS] BAUD TTY entry.command = "/sbin/getty 0 " + ttyName; // Invoke the toybox getty applet directly — no /sbin/getty // symlink is guaranteed to exist. toybox getty expects: // toybox getty [OPTIONS] BAUD TTY entry.command = "/bin/toybox getty 0 " + ttyName; } else { entry.command = command; } Loading Loading
src/tty.cpp +4 −3 Changes for src/tty.cpp: 4 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -27,9 +27,10 @@ namespace syslite { std::string ttyName = device; if (ttyName.substr(0, 5) == "/dev/") ttyName = ttyName.substr(5); // toybox getty is symlinked at /sbin/getty by the OS build. // toybox getty expects: getty [OPTIONS] BAUD TTY entry.command = "/sbin/getty 0 " + ttyName; // Invoke the toybox getty applet directly — no /sbin/getty // symlink is guaranteed to exist. toybox getty expects: // toybox getty [OPTIONS] BAUD TTY entry.command = "/bin/toybox getty 0 " + ttyName; } else { entry.command = command; } Loading