I have recently installed Turnkey Domain controller to run in my network. I would like to set up the MOTD on ssh login to show more then just the free space on "/". I cannot figure out how to change it. I have tried adding a line to the file /usr/bin/turnkey-sysinfo but it will only replace the disk usage and not add another one to it.

I followed your instructions but I still cannot get the second mounted drive to show up.

I have a partition mounted at /srv/storage. This is what

turnkey-sysinfo.py looks like:

# turnkey-sysinfo is open source software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
import os
import re

import disk
from memstats import MemoryStats

from datetime import datetime
import netinfo

import commands

NIC_BLACKLIST = ('lo')

def get_nics():
nics = []

for ifname in netinfo.get_ifnames():
if ifname in NIC_BLACKLIST:
continue