diff options
author | ramon <ramongomez@us.es> | 2016-01-19 12:27:12 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-01-19 12:27:12 +0000 |
commit | b6971f19a137b1650763e582f319bfe7af3667cc (patch) | |
tree | bd6bdae2add62707b85a1d0ac087eece589b58ed /client/engine/Boot.lib | |
parent | b584da5f9d94d1133be9d05cdc025ec2f179c69a (diff) |
#731: FunciĆ³n {{{ogWindowsBootParameters}}} detecta Windows 10.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4775 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/Boot.lib')
-rwxr-xr-x | client/engine/Boot.lib | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/client/engine/Boot.lib b/client/engine/Boot.lib index e134f342..6796455e 100755 --- a/client/engine/Boot.lib +++ b/client/engine/Boot.lib @@ -459,6 +459,9 @@ rm -f $FILE #@version 1.0.5 - Soporte para Windows 8 y Windows 8.1. #@author Ramon Gomez, ETSII Universidad de Sevilla #@date 2014-01-28 +#@version 1.1.0 - Soporte para Windows 10. +#@author Ramon Gomez, ETSII Universidad de Sevilla +#@date 2016-01-19 #*/ ## function ogWindowsBootParameters () @@ -485,7 +488,10 @@ FILE=/tmp/temp$$ VERSION=$(ogGetOsVersion $1 $2) -if echo "$VERSION" | grep "Windows 8.1" +if echo "$VERSION" | grep "Windows 10" +then + WINVER="Windows 10" +elif echo "$VERSION" | grep "Windows 8.1" then WINVER="Windows 8.1" elif echo "$VERSION" | grep "Windows 8" |