]> git.pld-linux.org Git - packages/samba4.git/commitdiff
- post scriptlets cleanup
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 16 Apr 2013 12:06:34 +0000 (14:06 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 16 Apr 2013 12:06:34 +0000 (14:06 +0200)
samba4.spec

index 3eb4b92ad7cb7ec570ab639e773c6cf42c641b94..fe878b824a218b2ca1b847e9769136ac5ac41039 100644 (file)
@@ -888,15 +888,15 @@ install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/chkconfig --add samba
-%service samba restart "Samba AD daemon"
+#/sbin/chkconfig --add samba
+#%service samba restart "Samba AD daemon"
 %systemd_post samba.service
 
 %preun
-if [ "$1" = "0" ]; then
-       %service samba stop
-       /sbin/chkconfig --del samba
-fi
+#if [ "$1" = "0" ]; then
+#      %service samba stop
+#      /sbin/chkconfig --del samba
+#fi
 %systemd_preun samba.service
 
 %postun
@@ -913,7 +913,7 @@ fi
 %preun -n samba3-server
 if [ "$1" = "0" ]; then
        %service smb stop
-       /sbin/chkconfig --del samba
+       /sbin/chkconfig --del smb
 fi
 %systemd_preun smb.service nmb.service
 
This page took 0.10949 seconds and 4 git commands to generate.