#!/bin/sh
# Get bare minimal information of node, for the use of easy debugging
# Rick van der Zwet <info@rickvanderzwet.nl>

# Trac specific code
echo "----"
echo "{{{"

# Introduction
echo "Generated by $USER@`hostname`"
echo "Date: `date`"

# Kernel information
uname -a | fold

# Mount information, for the use of checking which slize is usd
mount

# static iinformation, on image, like build, time, who,
VERSION='/tools/wl-release.txt'
cat $VERSION

if [ -r /VERSION ]; then
	cat /VERSION
	seperator
fi

# Current ip configuration
ifconfig -a

# XXX: Configuration specifics

# Trac specific code
echo "}}}"
echo "----"