Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > contrib > by-pkgid > 5f9137ef3964ae7dfd87f049b15e150f > scriptlet

strongswan-2.0.2-3mdk.i586.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