added various things, to make kernel version info more useful

This commit is contained in:
cgd 1993-04-03 01:40:55 +00:00
parent 33a637b4eb
commit fe7517c914
1 changed files with 8 additions and 2 deletions

View File

@ -42,7 +42,13 @@ else
fi
touch version
v=`cat version` t=`date "+%m/%d/%y %H:%M"`
kernvers="386BSD 0.1"
v=`cat version`
t=`date "+%m/%d/%y %H:%M"`
user=${USER-root}
host=`hostname`
dir=`pwd`
(
echo "char version[] = \"version: ${v} ($1) ${t}\";"
echo "char version[] = \"${kernvers} ($1) #${v}: ${t}\\n ${user}@${host}:${dir}\\n\";"
) > vers.c