shorewall_code/Shorewall-common/isusable
2009-01-31 00:19:43 +00:00

10 lines
152 B
Plaintext

local status=0
case $1 in
$EXT_IF|$COM_IF)
[ -f /etc/shorewall/${1}.status ] && status=$(cat /etc/shorewall/${1}.status)
;;
esac
return $status