本文来源http://blog.csdn.net/gt945/article/details/9813393
修改以下两个文件:
package/utelnetd/files/utelnetd.init
#!/bin/sh /etc/rc.common START=60 boot() { # Start it by `telnetenable` in Router Debugging Mode. /usr/sbin/utelnetd -d echo "Start utelnetd by telnetenable" }
start_RtDebugMode() { mkdir /dev/pts mknod -m 666 /dev/ptmx c 5 2 mknod -m 666 /dev/pts/0 c 136 0 mknod -m 666 /dev/pts/1 c 136 1 #killall utelnetd #killall telnetenable #/usr/sbin/telnetenable }
执行编译
./build.sh