From f1e91b452897e5b372f3d3c160e3c1b796e771a5 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 23 May 2008 12:50:14 +0200 Subject: packaging(RHEL-CTDB): in %preun, first stop the service then deactivate Michael (This used to be commit b3e552d795caf6e4ab811368fda4a8a2f2d493a0) --- packaging/RHEL-CTDB/samba.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec index 3d1a9f1704..acf38b19bf 100644 --- a/packaging/RHEL-CTDB/samba.spec +++ b/packaging/RHEL-CTDB/samba.spec @@ -343,9 +343,9 @@ fi %preun if [ $1 = 0 ] ; then + /sbin/service smb stop >/dev/null 2>&1 /sbin/chkconfig --del smb # rm -rf /var/log/samba/* /var/lib/samba/* - /sbin/service smb stop >/dev/null 2>&1 fi exit 0 -- cgit