mirror of
https://github.com/samba-team/samba.git
synced 2025-02-02 09:47:23 +03:00
packaging(RHEL-CTDB): in %preun, first stop the service then deactivate
Michael (This used to be commit b3e552d795caf6e4ab811368fda4a8a2f2d493a0)
This commit is contained in:
parent
0da2b0bf86
commit
f1e91b4528
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user