Added example telnet login for NetBSD
This commit is contained in:
parent
24e0ebcb45
commit
94bc2ee751
@ -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.
|
||||||
|
17
SETUP.sh
17
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
|
#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
|
||||||
|
Reference in New Issue
Block a user