#!/bin/sh
#
# $Id: service_status_SuSEfirewall2,v 1.2 2005/12/13 16:30:15 gleissner Exp $
#
#
# Project     :  SCPM (System Configuration Profile Management)
# Module      :  SCPM Utilities
# File        :  service_status_SuSEfirewall2
# Description :  Returns status of a service SuSEfirewall2
# Author      :  Joachim Gleissner <jg@suse.de>
#
# Copyright 2004 SuSE Linux AG
#
# Released under the terms of the GNU General Public License
# (see file COPYRIGHT in project root directory).
#

test -z "$1" && { echo "no init script given" >&2 ; exit 1 ; }

. /etc/sysconfig/scpm || exit 1
. $LIBDIR/resource_types/service/common || exit 1

SCRIPT=SuSEfirewall2_setup

test -f $INITD/$SCRIPT || { echo "no such file $INITD/$SCRIPT" >&2 ; exit 2 ; }

PATH=/sbin:$PATH
exec $INITD/$SCRIPT status


exit 0
    
