10 lines
152 B
Bash
Executable file
10 lines
152 B
Bash
Executable file
#!/bin/sh
|
|
|
|
DIRECTORY="/run/media/$USER"
|
|
|
|
if [ -d "$DIRECTORY" ]
|
|
then
|
|
[ "$(/usr/bin/ls -A "$DIRECTORY")" ] && echo "禍 " || echo ""
|
|
else
|
|
echo ""
|
|
fi
|