#!/bin/bash2
# PhionVersionString 3.2.0.1

a=$(echo `grep loadsets $1`)
b='loadsets={local,special}'

if [ "_$a" = "_" ]; then
	echo "STATUS 0"
	exit 0
fi


c=${a#'loadsets={'}
c=${c%'}'}

if [ -z $c ]; then
	echo "STATUS 0"
	exit 0
else
	echo "REJECTING ruleset "
	echo "This rule set is not a local rule set"
	echo "It does contain a cascadation attempt"
	echo "STATUS 1"
	exit 1
fi

echo "STATUS 0"

