forked from sig_core/toolkit
9 lines
304 B
Bash
Executable File
9 lines
304 B
Bash
Executable File
#!/bin/bash
|
|
r_log "rocky" "Check /etc/rocky-release symbolic links"
|
|
|
|
grep -q "Rocky" /etc/rocky-release || r_checkExitStatus 1
|
|
(file /etc/redhat-release | grep -qE "symbolic link to .?rocky-release.?") && \
|
|
(file /etc/system-release | grep -qE "symbolic link to .?rocky-release.?")
|
|
|
|
r_checkExitStatus $?
|