Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > media > contrib-release > by-pkgid > ba7b145dfe753fb3a48ac308d733d068 > scriptlet

strongswan-2.8.3-2mdv2007.1.x86_64.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service strongswan $1 ipsec

POSTIN

/bin/sh
is=/etc/freeswan/ipsec.secrets; if [ ! -f $is ]; then ipsec newhostkey --output $is && chmod 400 $is; else ipsec newhostkey --output $is.rpmnew && chmod 400 $is.rpmnew; fi

/usr/share/rpm-helper/add-service strongswan $1 ipsec