added various things, to make kernel version info more useful
This commit is contained in:
parent
33a637b4eb
commit
fe7517c914
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user