File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # xsos v0.7.10 last mod 2016/09/09
2
+ # xsos v0.7.11 last mod 2017/03/17
3
3
# Latest version at <http://github.com/ryran/xsos>
4
4
# RPM packages available at <http://people.redhat.com/rsawhill/rpms>
5
5
# Copyright 2012-2016 Ryan Sawhill Aroha <[email protected] >
15
15
# General Public License <gnu.org/licenses/gpl.html> for more details.
16
16
# -------------------------------------------------------------------------------
17
17
18
+ # See https://github.com/ryran/xsos/issues/208
19
+ export LC_ALL=en_US.UTF-8
20
+
18
21
# Get version from line #2
19
22
version=$( sed ' 2q;d' $0 )
20
23
@@ -1522,7 +1525,7 @@ CPUINFO() {
1522
1525
# Check important cpu flags
1523
1526
# pae=physical address extensions * lm=64-bit * vmx=Intel hw-virt * svm=AMD hw-virt
1524
1527
# ht=hyper-threading * aes=AES-NI * constant_tsc=Constant Time Stamp Counter
1525
- cpu_flags=$( egrep -o " pae|lm|vmx|svm|ht|aes|constant_tsc|rdrand" < " $cpuinfo_input " | sort -u | sed ' :a;N;$!ba;s/\n/,/g' )
1528
+ cpu_flags=$( egrep -o " pae|lm|vmx|svm|ht|aes|constant_tsc|rdrand|nx " < " $cpuinfo_input " | sort -u | sed ' :a;N;$!ba;s/\n/,/g' )
1526
1529
[[ -n $cpu_flags ]] && cpu_flags=" (flags: $cpu_flags )"
1527
1530
1528
1531
# Print it all out
You can’t perform that action at this time.
0 commit comments