Lines Matching refs:dir
21 dir="/var/lib/phosphor-debug-collector/dumps/"
23 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then
25 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc"
31 dir="/var/lib/phosphor-debug-collector/hardwaredump/"
33 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then
35 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc"
42 dir="/var/lib/phosphor-debug-collector/hostbootdump/"
44 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then
46 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc"
53 dir="/var/lib/phosphor-debug-collector/sbedump/"
55 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ]; then
57 add_cmd_output "ls -AX $dir/*/*" "$file_name" "$desc"
64 dir="/var/lib/systemd/coredump/"
66 if [ -d "$dir" ] && [ -n "$(ls -A $dir/)" ] && [ -n "$(ls -A $dir/core*)" ]; then
68 add_cmd_output "ls -AX $dir/core*" "$file_name" "$desc"