提交 e9772c77 编写于 作者: Y ybduan

viorng_in_use: correct re pattern

"grep [Rs,Ds]" is not to get "Rs" OR "Ds".
Change it to "grep 'Rs\|Ds'".
Signed-off-by: Nybduan <yduan@redhat.com>
上级 27c77793
......@@ -28,7 +28,7 @@
target_process = rngd
driver_name = virtio_rng
rng_data_rex = "\w+"
list_cmd = "ps aux | grep rngd | grep [Rs,Ds]"
list_cmd = "ps aux | grep rngd | grep 'Rs\|Ds'"
check_rngd_service = "systemctl status rngd"
start_rngd_service = "systemctl start rngd"
RHEL.6:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册