toolkit/func/core/pkg_rsyslog/10-test-syslog.sh
2021-07-04 23:50:25 -07:00

9 lines
179 B
Bash
Executable File

#!/bin/bash
r_log "rsyslog" "Verify that rsyslog is working as intended"
logger "$0 says Green Obsidian"
sleep 3
grep -q "Green Obsidian" /var/log/messages
r_checkExitStatus $?