hbbs

[archived] bbs.hlirc.net
git clone https://hhvn.uk/hbbs
git clone git://hhvn.uk/hbbs
Log | Files | Refs | README | LICENSE

config.def.sh (2340B)


      1 #!/bin/sh
      2 
      3 banner='
      4    _   _  _     _____  ___     ____      _  _   ____  _____
      5   / // / / /   /_ __/ / ,.\  .`.../     / |/ / / __/ /_  _/
      6  /    / / /_  __//_  /  ``/ / /__  __  / || / / __/   / /
      7 /_//_/ /___/ /____/ /_/ \\\\  `.__/ /_/ /_/|_/ /___/   /_/' # type '\\' for '\'
      8 
      9 start_message='
     10 Welcome to the bbs. If you do not have an account, 
     11 login as "new" to register. There'\''s no guest view.
     12 '
     13 
     14 boards="QUOTES SANDBOX GENERAL ADMIN FILES"
     15 
     16 board_quotes_desc="Quotes from the irc server"
     17 board_sandbox_desc="Send test messages here"
     18 board_general_desc="General discussions/ideas"
     19 board_admin_desc="Announcements/news"
     20 board_files_desc="Links to files/torrents"
     21 
     22 board_admin_post_whitelist="hhvn"
     23 #board_admin_reply_whitelist="hhvn"
     24 
     25 # throttle for hour when reached
     26 post_limit=8        #per minute
     27 connection_limit=15 #per minute
     28 
     29 bbs_addr="bbs.hlirc.net"
     30 email_addr="bbs@hlirc.net"
     31 term="xterm-256color"
     32 term_height=34
     33 term_width=80
     34 datadir="/var/bbs"
     35 error_colour=88
     36 info__colour=239
     37 ok____colour=34
     38 num___colour=23
     39 key___colour=12
     40 date__colour=9
     41 old_prompt_style="$(tput setaf 240)=>$(tput sgr0)"
     42 verify_email=no
     43 recover_email=yes # send emails with recovery passwords
     44 
     45 hook_trigger_post="atom"
     46 #hook_trigger_logout="..."
     47 
     48 hook_atom_output="/var/bbs/atom"
     49 
     50 # If you used the makefile, you should 
     51 # be able to include /etc/xinet.d/hbbs
     52 
     53 # Sample xinetd configuration:
     54 #
     55 # service telnet
     56 # {
     57 #         socket_type = stream
     58 #         protocol = tcp
     59 #         only_from = 0.0.0.0/0 ::/0
     60 #
     61 #         wait = no
     62 #         user = bbs
     63 #         group = bbs
     64 #         server = /usr/share/hbbs/bin/wrapper.sh
     65 #         instances = 12
     66 #
     67 #         log_type = FILE /var/log/hbbs
     68 #         log_on_success = PID HOST EXIT DURATION
     69 #         log_on_failure = HOST
     70 #         banner_fail = /usr/share/hbbs/etc/banner_full
     71 #
     72 #         disable = no
     73 # }
     74 # service finger
     75 # {
     76 #         socket_type = stream
     77 #         protocol = tcp
     78 #         only_from = 0.0.0.0/0 ::/0
     79 #
     80 #         wait = no
     81 #         user = bbs
     82 #         group = bbs
     83 #         server = /usr/share/hbbs/bin/wrapper.sh
     84 #         server_args = -f
     85 #         instances = 5
     86 #
     87 #         log_type = FILE /var/log/hbbs-finger
     88 #         log_on_success = PID HOST EXIT DURATION
     89 #         log_on_failure = HOST
     90 #         banner_fail = /usr/share/hbbs/etc/banner_full
     91 #
     92 #         disable = no
     93 # }