summaryrefslogtreecommitdiff
path: root/ui/qt5/horizon-ppc64-detect
diff options
context:
space:
mode:
Diffstat (limited to 'ui/qt5/horizon-ppc64-detect')
-rwxr-xr-xui/qt5/horizon-ppc64-detect3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/qt5/horizon-ppc64-detect b/ui/qt5/horizon-ppc64-detect
new file mode 100755
index 0000000..96d3e83
--- /dev/null
+++ b/ui/qt5/horizon-ppc64-detect
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+grep platform /proc/cpuinfo | cut -d':' -f2 | cut -d' ' -f2 > /tmp/horizon-platform