10 lines
115 B
Bash
Executable File

#!/bin/sh
pdnsctrl=`which pdns_control`
if [ $? -eq 0 ]
then
echo '<<<app-powerdns>>>'
$pdnsctrl show '*'
fi