TIP: Click on subject to list as thread! ANSI
echo: linux
to: PHILLIP TAYLOR
from: BENNY PEDERSEN
date: 2020-11-04 03:42:00
subject: Re: Linux & Modems

Hello Phillip!

01 Nov 2020 09:41, Phillip Taylor wrote to Andrew Leary:

 PT> Please keep in mind that the recommended init strings in the manual in 
 PT> most cases will not work if your trying to host a bbs system.  You 
 PT> will have to play around with the init strings to get it to work.

yes, it should be openrc or systemd in linux, bash is not supported, oh well it
looks like bash, but the intepretter is not bash

   ----- binkd begins -----
#!/sbin/openrc-run

depend() {
        need net localmount
        use dns logger clock wlan
        after bootmisc hostname
}

start() {
        ebegin "Starting binkd"
        start-stop-daemon --start --user ${BINKD_USER} --exec /usr/bin/binkd
--pidfile ${BINKD_PID} -- ${BINKD_OPTIONS} ${BINKD_CFG}
        eend $?
}

stop() {
        ebegin "Stopping binkd"
        start-stop-daemon --stop --user ${BINKD_USER} --exec /usr/bin/binkd
--pidfile ${BINKD_PID}
        eend $?
}    ----- binkd ends -----

works on gentoo :)

   ----- binkd begins -----
# /etc/conf.d/binkd: config file for /etc/init.d/binkd

# Options to pass to the binkd daemon.
# See the binkd(8) man page for more info.

# dont use root
BINKD_USER="xpoint"

# change xpoint to what user dir is home dir
BINKD_CFG="/home/xpoint/config/binkd.conf"

# pid file must be in homedir
BINKD_PID="/home/xpoint/config/binkd.pid"

# other options outside of initrc
BINKD_OPTIONS="-CD"
   ----- binkd ends -----


 Regards Benny

... too late to die young :)

--- Msged/LNX 6.1.2 (Linux/5.9.2-gentoo-x86_64 (x86_64))
* Origin: I will always keep a PC running CPM 3.0 (2:230/0)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.