Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 935c9f3e8d0fe630c969f18216e53291 > scriptlet

firestarter-1.0.3-14mdv2009.0.i586.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service firestarter $1 firestarter 
if [ "$1" = "0" -a -x /usr/bin/gconftool-2 ]; then 
SCHEMAS="" 
for SCHEMA in "$1" ; do 
  SCHEMAS="$SCHEMAS /etc/gconf/schemas/$SCHEMA.schemas" 
done 
GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source` /usr/bin/gconftool-2 --makefile-uninstall-rule  $SCHEMAS > /dev/null || true ; fi

POSTIN

/bin/sh

if [ $1 -eq 1 ]; then
  touch /etc/firestarter/blocked-hosts	\
	/etc/firestarter/blocked-ports	\
	/etc/firestarter/forward		\
	/etc/firestarter/open-ports	\
	/etc/firestarter/stealthed-ports	\
	/etc/firestarter/trusted-hosts
  echo "You have to decide whether to let iptables startup script"
  echo "or firestarter to control your firewall, using chkconfig."
fi
/usr/share/rpm-helper/add-service firestarter $1 firestarter

Triggers

firestarter <= 0.9.2-1mdk

/bin/sh
echo "You have to decide whether to let iptables startup script"
echo "or firestarter to control your firewall, using chkconfig."