#573: Añadir mensaje de versión al iniciar el cliente OpenGnSys.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@3580 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
ramon 2013-02-13 10:51:15 +00:00
parent 8ac7b012b7
commit 423c622fb7
1 changed files with 4 additions and 0 deletions

View File

@ -36,6 +36,10 @@
# Parameter: Where to mount the filesystem
mountroot ()
{
[ -f /scripts/VERSION.txt ] && OGVERSION=$(cat /scripts/VERSION.txt)
OGVERSION=${OGVERSION:-"OpenGnSys Client"}
echo; echo; echo "$OGVERSION"; echo; echo
[ "$quiet" != "y" ] && log_begin_msg "Running OpenGnsys /scripts/og-top"
run_scripts /scripts/og-top
[ "$quiet" != "y" ] && log_end_msg