Sophie

Sophie

distrib > Mandriva > 2011.0 > x86_64 > media > main-release > by-pkgid > 634af47da2a994cfd5513013ee8b641d > scriptlet

xfs-1.1.1-2.x86_64.rpm

PREIN

/bin/sh
/usr/share/rpm-helper/add-user xfs $1 xfs /etc/X11/fs /bin/false 

# for msec high security levels
/usr/share/rpm-helper/add-group xfs $1 xgrp xfs

PREUN

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

POSTIN

/bin/sh
/usr/share/rpm-helper/add-service xfs $1 xfs 

# handle init sequence change
if [ -f /etc/rc5.d/S90xfs ] && grep -q 'chkconfig: 2345 20 10' /etc/init.d/xfs; then
	/sbin/chkconfig --add xfs
fi

POSTUN

/bin/sh
/usr/share/rpm-helper/del-user xfs $1 xfs

Triggers

XFree86-xfs

/bin/sh
/usr/share/rpm-helper/add-service xfs $1 xfs 
if [ ! -f /var/lock/subsys/xfs ]
then
  /sbin/service xfs start
fi