Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > 268682562794c601c1e0e1a8d9d41d95 > scriptlet

eucalyptus-3.2.2-1.fc18.x86_64.rpm

PREIN

/bin/sh
getent group eucalyptus >/dev/null || groupadd -r eucalyptus
## FIXME:  Make QA (and Eucalyptus proper?) work with /sbin/nologin as the shell [RT:2092]
#getent passwd eucalyptus >/dev/null || \
#    useradd -r -g eucalyptus -d /var/lib/eucalyptus -s /sbin/nologin \
#    -c 'Eucalyptus' eucalyptus
getent passwd eucalyptus >/dev/null || \
    useradd -r -g eucalyptus -d /var/lib/eucalyptus \
    -c 'Eucalyptus' eucalyptus

POSTIN

/bin/sh
udevadm control --reload-rules

POSTUN

/bin/sh
# Reload udev rules on uninstall
if [ "$1" = "0" ]; then
    /sbin/service udev-post reload || :
fi