We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d559e31 commit 09ea39fCopy full SHA for 09ea39f
osg-system-profiler
@@ -185,13 +185,12 @@ dump_file "/etc/hosts"
185
run_cmd df --human-readable --print-type
186
run_cmd free
187
188
-version=$(grep -E '^(VERSION)=' /etc/os-release | cut -d '"' -f 2)
189
190
-if [[ $version == 8* || $version == 9* ]]; then
191
- echo "Crypto Policy is: `update-crypto-policies --show`"
+if which update-crypto-policies &>/dev/null; then
+ echo "***** Crypto Policy"
+ update-crypto-policies --show
192
else
193
- echo "Crypto Policy is not available"
194
-
+ echo "***** Crypto Binary not found..."
195
fi
196
197
dump_file "/proc/cpuinfo"
0 commit comments