Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > contrib-release > by-pkgid > fa29e112c44ba8523d7d40979d031e37 > scriptlet

firestarter-1.0.3-12mdv2008.1.x86_64.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service firestarter $1 firestarter 
if [ "$1" = "0" ]; then
  GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`  gconftool-2 --makefile-uninstall-rule /etc/gconf/schemas/firestarter.schemas > /dev/null
fi

POSTIN

/bin/sh
GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`  gconftool-2 --makefile-install-rule /etc/gconf/schemas/firestarter.schemas > /dev/null

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 
if [ -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi

POSTUN

/bin/sh
if [ "$1" = "0" -a -x /usr/bin/update-menus ]; then /usr/bin/update-menus || true ; fi

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."