10 lines
98 B
Bash
Executable File
10 lines
98 B
Bash
Executable File
#!/bin/bash
|
|
|
|
xset -q | grep 'On' > /dev/null
|
|
|
|
if [ $? -eq 0 ]; then
|
|
exit 1
|
|
else
|
|
exit 0
|
|
fi
|