]> git.pld-linux.org Git - packages/dhcp.git/commitdiff
- finished transition to new lock name (/var/lock/subsys/dhcp-relay)
authorsaq <saq@pld-linux.org>
Thu, 26 Jul 2001 16:23:31 +0000 (16:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 3
- stb

Changed files:
    dhcp.spec -> 1.58

dhcp.spec

index 644d753993059ca88490a7ce7e69b2332e5aaf58..e915eab7c3496b2a83ecd0db4e0ed571fb1bf2be 100644 (file)
--- a/dhcp.spec
+++ b/dhcp.spec
@@ -2,7 +2,7 @@ Summary:        DHCP Server
 Summary(pl):   Serwer DHCP 
 Name:          dhcp
 Version:       3.0rc10
-Release:       2
+Release:       3
 Epoch:         1
 Vendor:                ISC
 Group:         Networking/Daemons
@@ -125,8 +125,10 @@ fi
 
 %post relay
 /sbin/chkconfig --add dhcp-relay
-
 if [ -f /var/lock/subsys/dhcrelay ]; then
+       mv /var/lock/subsys/dhcrelay /var/lock/subsys/dhcp-relay
+fi
+if [ -f /var/lock/subsys/dhcp-relay ]; then
        /etc/rc.d/init.d/dhcp-relay restart >&2
 else
        echo "Run \"/etc/rc.d/init.d/dhcp-relay start\" to start dhcrelay daemon."
@@ -147,7 +149,7 @@ fi
 
 %preun relay
 if [ "$1" = "0" ];then
-       if [ -f /var/lock/subsys/dhcrelay ]; then
+       if [ -f /var/lock/subsys/dhcp-relay ]; then
                /etc/rc.d/init.d/dhcp-relay stop >&2
        fi
        /sbin/chkconfig --del dhcp-relay
This page took 0.090426 seconds and 4 git commands to generate.