Sophie

Sophie

distrib > CentOS > 5 > i386 > by-pkgid > 7df46c09bb80b9552f78135fb0276202 > scriptlet

samba3x-3.6.23-9.el5_11.i386.rpm

PREUN

/bin/sh
if [ $1 = 0 ] ; then
    /sbin/service smb stop >/dev/null 2>&1 || :
    /sbin/service nmb stop >/dev/null 2>&1 || :
    /sbin/chkconfig --del smb
    /sbin/chkconfig --del nmb
fi
exit 0

#%postun

POSTIN

/bin/sh
/sbin/chkconfig --add smb
/sbin/chkconfig --add nmb
if [ "$1" -ge "1" ]; then
	/sbin/service smb condrestart >/dev/null 2>&1 || :
	/sbin/service nmb condrestart >/dev/null 2>&1 || :
fi
exit 0