diff options
author | irina <irinagomez@us.es> | 2014-04-25 11:32:19 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2014-04-25 11:32:19 +0000 |
commit | 2847ede25b7cfd479dca6d391856b80dce8e70dd (patch) | |
tree | 3d6ee111e485745800a3b4aa724a24d7e9559a98 /admin/Sources/Services/ogAdmRepoAux | |
parent | ee4beb4ca3472e64dda9a4c3edb071574f5dab3b (diff) |
#565 Correccion errata en la nomenclatura de la version del kernel
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4255 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Sources/Services/ogAdmRepoAux')
-rwxr-xr-x | admin/Sources/Services/ogAdmRepoAux | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/Sources/Services/ogAdmRepoAux b/admin/Sources/Services/ogAdmRepoAux index 01dac195..4d245daf 100755 --- a/admin/Sources/Services/ogAdmRepoAux +++ b/admin/Sources/Services/ogAdmRepoAux @@ -26,7 +26,7 @@ REPODIR="$BASEDIR/images/" eval $(grep BACKUP $BASEDIR/client/etc/engine.cfg) # FS segun kernel. ext4 para < 3.7, para >= BTRFS KERNEL=$(file -bkr /opt/opengnsys/tftpboot/ogclient/ogvmlinuz |awk '/Linux/ {for(i=1;i<=NF;i++) if($i~/version/) {v=$(i+1);printf("%d",v);sub(/[0-9]*\./,"",v);printf(".%02d",v)}}') -[ $KERNEL \< 3.7 ] && IMGFS="EXT4" || IMGFS="BTRFS" +[ $KERNEL \< 3.07 ] && IMGFS="EXT4" || IMGFS="BTRFS" # AƱade registro de incidencias. |