Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 5f190b841a7a22989e3dc2818149c0cd > scriptlet

samba3x-3.6.23-6.el5.x86_64.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