source: hybrid/branches/releng-9.0/nanobsd/files/tools/wl-version@ 10628

Last change on this file since 10628 was 10628, checked in by rick, 13 years ago

Make sure to update the motd after file is downloaded to include the latest
version information.

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
File size: 625 bytes
Line 
1#!/bin/sh
2# Get bare minimal information of node, for the use of easy debugging
3# Rick van der Zwet <info@rickvanderzwet.nl>
4
5# Trac specific code
6echo "----"
7echo "{{{"
8
9# Introduction
10echo "Generated by $USER@`hostname`"
11echo "Date: `date`"
12
13# Kernel information
14uname -a | fold
15
16# Mount information, for the use of checking which slize is usd
17mount
18
19# static iinformation, on image, like build, time, who,
20VERSION='/tools/wl-release.txt'
21cat $VERSION
22
23if [ -r /VERSION ]; then
24 cat /VERSION
25 seperator
26fi
27
28# Current ip configuration
29ifconfig -a
30
31# XXX: Configuration specifics
32
33# Trac specific code
34echo "}}}"
35echo "----"
Note: See TracBrowser for help on using the repository browser.