mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 19:43:45 +01:00
10 lines
152 B
Plaintext
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
|