9 lines
136 B
Bash
Executable File
9 lines
136 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if /bin/launchctl list | egrep httpd > /dev/null
|
|
then
|
|
|
|
echo "<result>Yes</result>"
|
|
else
|
|
echo "<result>No</result>"
|
|
fi |