toolkit/func/core/pkg_httpd/10-httpd-branding.sh

11 lines
289 B
Bash
Raw Permalink Normal View History

2021-07-05 06:50:25 +00:00
#!/bin/bash
r_log "httpd" "Verify httpd branding"
r_log "httpd" "Token"
2022-06-22 01:21:01 +00:00
curl -sI http://localhost/ | grep -i "Server:\ Apache.*\ (Rocky Linux)" > /dev/null 2>&1
2021-07-05 06:50:25 +00:00
r_checkExitStatus $?
r_log "httpd" "index"
curl -sI http://localhost/ | grep -i "Rocky" > /dev/null 2>&1
r_checkExitStatus $?