Posted on 10-14-2022 08:14 AM
I have been trying to setup an extension attribut for the automox agent on my machines.
>
Posted on 01-10-2023 02:44 PM
Hi @ChrisW532.,
I'm using the -e (file exists) option instead of -x (is an executable) and it seems to be working for me.
#!/bin/sh
if [ -e /usr/local/bin/amagent ]
then
echo "<result>Installed</result>"
else
echo "<result>Not Installed</result>"
fi