shorewall_code/Shorewall-common/isusable

10 lines
152 B
Plaintext
Raw Normal View History

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