]> git.pld-linux.org Git - packages/dibbler.git/commitdiff
- modifications in daemon start
authorsardzent <sardzent@pld-linux.org>
Tue, 18 Jan 2005 13:25:01 +0000 (13:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- waiting for contact with author
- do not touch :)

Changed files:
    dibbler.spec -> 1.10

dibbler.spec

index f11acaf24d8b438d1690b780d6988a6fcf6a4924..9cae47e61ba39ad20aff6425b912d931d01ce6b6 100644 (file)
@@ -84,15 +84,22 @@ ln -sf %{_sharedstatedir}/%{name}/client.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{na
 rm -rf $RPM_BUILD_ROOT
 
 %post
+/sbin/ldconfig
 /sbin/chkconfig --add dibbler
+#if [ -f /var/lock/subsys/dibbler ]; then
+#        /etc/rc.d/init.d/dibbler restart 1>&2
+#else
+        echo "Run \"/etc/rc.d/init.d/dibbler start\" to start dibbler DHCP daemon."
+#fi
+
 
 %preun
-if [ "$1" = "0" ];then
-       if [ -f /var/lock/subsys/dhcpd ]; then
-               /etc/rc.d/init.d/dhcpd stop >&2
-       fi
-       /sbin/chkconfig --del dhcpd
-fi
+#if [ "$1" = "0" ];then
+#      if [ -f /var/lock/subsys/dhcpd ]; then
+#              /etc/rc.d/init.d/dhcpd stop >&2
+#      fi
+#      /sbin/chkconfig --del dhcpd
+#fi
 
 %files
 %defattr(644,root,root,755)
This page took 0.060811 seconds and 4 git commands to generate.