Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need inetd (telnetd) to start early for baremetal with no serial port for troubleshooting #31

Open
labrouss opened this issue Sep 16, 2021 · 0 comments

Comments

@labrouss
Copy link

It would be nice if you could add it to your ramdisk patches :

e.g. within StartServices() after etc/rc

         # create second console channel
            if [ -e /dev/hvc0 ]; then
                    /sbin/getty 115200 hvc0 &
            fi
    fi

add something like :

echo "Starting early telnetd for troubleshooting "
/sbin/inetd
if [ ps -ef |grep -i inetd |grep sbin | wc -l -eq 1 ] ; then
echo "Inetd has started succesfully"
fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant