Sophie

Sophie

distrib > * > 2008.0 > x86_64 > media > main-testing > by-pkgid > 145c77f7332119f2d5ea200b35ed5382 > scriptlet

ez-ipupdate-3.0.11b8-7mdv2008.0.x86_64.rpm

PREUN

/bin/sh
/usr/share/rpm-helper/del-service ez-ipupdate $1 ez-ipupdate

POSTIN

/bin/sh
/usr/share/rpm-helper/create-file ez-ipupdate $1 /etc/ez-ipupdate.conf nobody root 600 
if [ ! -s /etc/ez-ipupdate.conf ]; then
cat > /etc/ez-ipupdate.conf << EOF
# example config file for ez-ipupdate
#service-type=dyndns-static
service-type=dyndns
user=login:password
host=somedomain.dyndns.org
interface=eth1
max-interval=2073600

# cache file in the temp directory
cache-file=/tmp/.ez-ipupdate.cache
EOF
fi
/usr/share/rpm-helper/add-service ez-ipupdate $1 ez-ipupdate