Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 4067cfa36c2d03ef26f59b61068cf805 > scriptlet

iptables-1.4.17-5.mga3.i586.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service iptables $1 iptables 
/usr/share/rpm-helper/del-service iptables $1 ip6tables

POSTIN

/bin/sh
/usr/share/rpm-helper/add-service iptables $1 iptables 
/usr/share/rpm-helper/add-service iptables $1 ip6tables 
/usr/libexec/iptables.init check

Triggers

iptables < 1.4.12.1

/bin/sh
# Autostart
/bin/systemctl --no-reload enable iptables.service >/dev/null 2>&1 ||:

# Delete from sysv management, try to restart service
/sbin/chkconfig --del iptables >/dev/null 2>&1 || :
/bin/systemctl try-restart iptables.service >/dev/null 2>&1 || :

# Autostart
/bin/systemctl --no-reload enable ip6tables.service >/dev/null 2>&1 ||:

# Delete from sysv management, try to restart service
/sbin/chkconfig --del ip6tables >/dev/null 2>&1 || :
/bin/systemctl try-restart ip6tables.service >/dev/null 2>&1 || :