diff options
author | ramon <ramongomez@us.es> | 2013-02-13 10:51:15 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-02-13 10:51:15 +0000 |
commit | 790d8bce3bc18f404ba17e1fee408e603f574131 (patch) | |
tree | 77d5088bee21656972a91d9aa49888eedfdbc9a4 | |
parent | f4322aef3143820a42f28d7a89bc467886511223 (diff) |
#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
-rwxr-xr-x | client/boot-tools/includes/etc/initramfs-tools/scripts/oginit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/boot-tools/includes/etc/initramfs-tools/scripts/oginit b/client/boot-tools/includes/etc/initramfs-tools/scripts/oginit index 61c68b96..667d014a 100755 --- a/client/boot-tools/includes/etc/initramfs-tools/scripts/oginit +++ b/client/boot-tools/includes/etc/initramfs-tools/scripts/oginit @@ -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 |