diff options
author | ramon <ramongomez@us.es> | 2013-05-21 11:36:23 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2013-05-21 11:36:23 +0000 |
commit | b2651a63576eec414f755325b90b340a9515aeff (patch) | |
tree | 0fd7938110052ef742b894cad4b65dcd966db930 /admin/Interface | |
parent | 40bba645f322485d9135abe8f6d3cd04c915cf26 (diff) |
#601: Integrar código del ticket:601 en rama de desarrollo.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3807 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface')
-rwxr-xr-x | admin/Interface/IniciarSesion | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/admin/Interface/IniciarSesion b/admin/Interface/IniciarSesion index a72c80b9..750d96d5 100755 --- a/admin/Interface/IniciarSesion +++ b/admin/Interface/IniciarSesion @@ -1,2 +1,13 @@ #!/bin/bash -bootOs 1 $1 + +# UHU - Comprobamos el disco, si solo hay un parametro, disco es 1, por compatibilidad con clientes antiguos +if [ $# == 1 ] +then + disk=1 + part=$1 +else + disk=$1 + part=$2 +fi + +bootOs $disk $part |