#!/bin/sh
#
# $Id: service_status_SuSEfirewall2,v 1.1 2004/09/06 14:00:06 jg 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/scpm.conf || 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
    
