]> git.pld-linux.org Git - packages/samba.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>
Wed, 15 Jan 2014 18:05:54 +0000 (19:05 +0100)
samba4.spec

index 41261d128c8fdbb49bdba8f187a133fa21caebfa..e0d392fec6fb1553bd1301df9683281c05f53cce 100644 (file)
@@ -889,15 +889,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
@@ -914,7 +914,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 1.671584 seconds and 4 git commands to generate.