forked from sig_core/toolkit
13 lines
370 B
Bash
Executable file
13 lines
370 B
Bash
Executable file
#!/bin/bash
|
|
r_log "rocky" "Check /etc/os-release stuff"
|
|
|
|
r_log "rocky" "Verify support directives"
|
|
for s in NAME=\"Rocky\ Linux\" \
|
|
ID=\"rocky\" \
|
|
ROCKY_SUPPORT_PRODUCT=\"Rocky\ Linux\" \
|
|
ROCKY_SUPPORT_PRODUCT_VERSION=\"$RL_VER\"; do
|
|
if ! grep -q "$s" /etc/os-release; then
|
|
r_log "rocky" "Missing string in /etc/os-release"
|
|
r_checkExitStatus 1
|
|
fi
|
|
done
|