Ignore:
Timestamp:
01/24/08 20:05:59 (4 years ago)
Author:
bruno
Message:

first working packages for common and dhcp.
dhcp needs more work to handle correctly subnet, which was not considered up to now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/dploy-dhcp/install.sh

    r33 r34  
    66if [ "_$PREFIX" != "_" ]; then 
    77    local=${DESTDIR}$PREFIX 
     8    conf=$CONFDIR 
    89else 
    910    local=/usr/local 
    1011        echo $PATH | grep $local/bin > /dev/null || echo "Warning - your PATH environmental variable is BROKEN. Please add $local/bin to your PATH." 
     12    conf=$local/$CONFDIR 
    1113fi 
    1214 
     
    1416mkdir -p $local/bin 
    1517install -m 0755 bin/dploy-add2dhcp $local/bin  
     18 
     19# The script need to know where the CONFDIR is 
     20perl -pi -e "s|PBCONF|$conf|" $local/bin/dploy-add2dhcp 
Note: See TracChangeset for help on using the changeset viewer.