diff options
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 |