diff options
author | Michael Adam <obnox@samba.org> | 2008-05-23 12:50:14 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-13 11:54:02 +0200 |
commit | f1e91b452897e5b372f3d3c160e3c1b796e771a5 (patch) | |
tree | 004ecf16136d48fff46adbe86e0544df23f754c5 | |
parent | 0da2b0bf869562a65679180423299e4d5ee940d6 (diff) | |
download | samba-f1e91b452897e5b372f3d3c160e3c1b796e771a5.tar.gz samba-f1e91b452897e5b372f3d3c160e3c1b796e771a5.tar.bz2 samba-f1e91b452897e5b372f3d3c160e3c1b796e771a5.zip |
packaging(RHEL-CTDB): in %preun, first stop the service then deactivate
Michael
(This used to be commit b3e552d795caf6e4ab811368fda4a8a2f2d493a0)
-rw-r--r-- | packaging/RHEL-CTDB/samba.spec | 2 |
1 files changed, 1 insertions, 1 deletions
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 |