diff --git a/ChangeLog b/ChangeLog index 3e39796d..41a7c53f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ v0.91.10 21-Aug-2007 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 calls depending on the databases you have installed. + Added example telnet login for NetBSD. libmbse: Added support or the ARM processor, thanks to Simon Voortman. diff --git a/SETUP.sh b/SETUP.sh index b56b7384..a6b03425 100644 --- a/SETUP.sh +++ b/SETUP.sh @@ -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 # Example OpenBSD telnet to the BBS #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 chmod 644 /etc/inetd.conf @@ -485,6 +487,21 @@ EOF 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 log "+" "/etc/xinetd.conf found, xinetd system" if [ -d /etc/xinetd.d ]; then