Sophie

Sophie

distrib > PLD > ac > amd64 > by-pkgid > ca4a0a12a84793aa4da0921f95ca1521 > scriptlet

firewall-init-2.99.9-1.noarch.rpm

PREUN

/bin/sh
if [ "$1" = "0" ]; then
	/sbin/chkconfig --del firewall
	/sbin/chkconfig --del firewall-pre
fi

POSTIN

/bin/sh
/sbin/chkconfig --add firewall
/sbin/chkconfig --add firewall-pre

Triggers

firewall-init < 2.5

/bin/sh
RPM_SCRIPTVERBOSITY=5 
[ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm 
if [ -x /usr/bin/banner.sh ]; then 
	CMD="/usr/bin/banner.sh --stderr $([ $RPM_SCRIPTVERBOSITY -ge 5 ] && echo -s) -m firewall-init" 
else 
	CMD="cat >&2" 
fi 
eval $CMD <<'EOF' 
You need to manually convert your rules to iptables or install
firewall-init-ipchains
EOF