Commit 46a0ff4d authored by jan.koester's avatar jan.koester
Browse files

toybox will be rplaced later with cmdline

parent 652ad598
Loading
Loading
Loading
Loading
+4 −3
Changes for src/tty.cpp: 4 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -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;
        }