POSTIN
/bin/sh
{
skip_auto_restart() {
[ -f /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
[ -f /etc/sysconfig/haldaemon ] && . /etc/sysconfig/haldaemon
echo ${RPM_SKIP_AUTO_RESTART:-no}
};
if [ $(skip_auto_restart) = no ]; then
if [ -f /var/lock/subsys/haldaemon ]; then
/sbin/service haldaemon restart 1>&2 || :;
else
echo 'Run "/sbin/service haldaemon start" to start haldaemon service.'
fi
fi };
RPM_SCRIPTVERBOSITY=5
[ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm
if [ -x /usr/bin/banner.sh ]; then
CMD="/usr/bin/banner.sh --stderr $([ $RPM_SCRIPTVERBOSITY -ge 5 ] && echo -s) -m hal"
else
CMD="cat >&2"
fi
eval $CMD << EOF
WARNING!
hal-gphoto NO LONGER uses special "digicam" group.
Please add yourself to more common "usb" group instead.
EOF