diff options
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/RHEL-CTDB/samba.spec | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/RHEL-CTDB/samba.spec b/packaging/RHEL-CTDB/samba.spec index 3dbeb8b01c..705810af4b 100644 --- a/packaging/RHEL-CTDB/samba.spec +++ b/packaging/RHEL-CTDB/samba.spec @@ -337,6 +337,10 @@ if [ "$1" -eq "2" ]; then fi fi +if [ "$1" -ge "1" ]; then + %{initdir}/smb restart >/dev/null 2>&1 +fi + %preun if [ $1 = 0 ] ; then /sbin/chkconfig --del smb @@ -345,11 +349,7 @@ if [ $1 = 0 ] ; then fi exit 0 -%postun -if [ "$1" -ge "1" ]; then - %{initdir}/smb restart >/dev/null 2>&1 -fi - +#%postun %post swat # Add swat entry to /etc/services if not already there. |