These message types are disabled by default; for instructions on enabling them, see the RUNOPTS statement in bbdef-server.sh.
The format for a data message is:
data hostname.data ....
....
....
Replace hostname.data with the actual name of the host this data is for. The data message appends the text specified by ... to the bbvar/data/hostname.data file . The data text is appended, not overwritten.
The Big Brother server does not do anything with the information in the data file. You can process the data with an external script, a cron job, or a command line program or script.
Here's an example:
cd $BBHOME
./bb $BBDISP "data www.bb4.com.hits 952281437 10m 5000"
The 952281437 10m 5000 is appended to the $BBDATA/www.bb4.com.hits file.
Note. If you enable this feature, a hacker could fill the disk with dummy data files.
Note. If you source the Big Brother environment before sending the data message, the message will be sent to all BBDISPLAYs. To send it to only one BBDISPLAY, use that IP address as the bb command line argument and set the BBDISPLAYS variable to "" just before sending your message.
The format for a notes message is:
notes hostname.html
....
....
....
Replace hostname with the actual name of the host this note is for. The notes message writes the text defined by ... to the www/notes/hostname.html file. The notes message overwrites the current file. You can display the contents of this file by clicking the host name on a Big Brother Web page (bb.html, bb2.html, or a generated page or subpage). See Associating a Message with a Host for more information.