Added example telnet login for NetBSD

This commit is contained in:
Michiel Broek 2007-08-25 19:22:56 +00:00
parent 24e0ebcb45
commit 94bc2ee751
2 changed files with 18 additions and 0 deletions

View File

@ -8,6 +8,7 @@ v0.91.10 21-Aug-2007
nothing if you don't have the library and tools. But if you do nothing if you don't have the library and tools. But if you do
have it, mbcico logs the country and city of the incoming have it, mbcico logs the country and city of the incoming
calls depending on the databases you have installed. calls depending on the databases you have installed.
Added example telnet login for NetBSD.
libmbse: libmbse:
Added support or the ARM processor, thanks to Simon Voortman. Added support or the ARM processor, thanks to Simon Voortman.

View File

@ -471,6 +471,8 @@ tfido stream tcp nowait mbse $MHOME/bin/mbcico mbcico -t itn
#telnet stream tcp nowait root /usr/libexec/telnetd telnetd -p $MHOME/bin/mblogin #telnet stream tcp nowait root /usr/libexec/telnetd telnetd -p $MHOME/bin/mblogin
# Example OpenBSD telnet to the BBS # Example OpenBSD telnet to the BBS
#telnet stream tcp nowait root /usr/libexec/tcpd telnetd -L $MHOME/bin/mblogin #telnet stream tcp nowait root /usr/libexec/tcpd telnetd -L $MHOME/bin/mblogin
# Example OpenBSD telnet to the BBS
#telnet stream tcp nowait root /usr/libexec/telnetd telnetd -g mbse
EOF EOF
chmod 644 /etc/inetd.conf chmod 644 /etc/inetd.conf
@ -485,6 +487,21 @@ EOF
fi fi
fi fi
if [ "$OSTYPE" = "NetBSD" ]; then
if [ -f /etc/gettytab ]; then
if [ "`grep mbse /etc/gettytab`" = "" ]; then
log "+" "[$?] adding mbsebbs login to /etc/gettytab"
cat << EOF >>/etc/
#
# Login entry for mbsebbs.
#
mbse:lo=/opt/mbse/bin/mblogin
EOF
fi
fi
fi
if [ -f /etc/xinetd.conf ]; then if [ -f /etc/xinetd.conf ]; then
log "+" "/etc/xinetd.conf found, xinetd system" log "+" "/etc/xinetd.conf found, xinetd system"
if [ -d /etc/xinetd.d ]; then if [ -d /etc/xinetd.d ]; then