Ignore:
Timestamp:
Dec 20, 2016, 4:07:32 PM (7 years ago)
Author:
Bruno Cornec
Message:

New 3?3 banch for incorporation of latest busybox 1.25. Changing minor version to handle potential incompatibilities.

Location:
branches/3.3
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3.3/mindi-busybox/examples/var_service/dhcp_if/dhcp_handler

    r2725 r3621  
    3737file_ntpconf="$service.ntpconf"
    3838dir_ipconf="/var/run/service/fw"
    39 dir_ntpconf="/var/run/service/ntp"
     39dir_ntpconf="/var/run/service/ntpd"
    4040
    4141exec >/dev/null
     
    4848    # Reconfigure network with this interface disabled
    4949    echo "Deconfiguring"
    50     rm "$service.out"
     50    rm "env.out"
    5151    rm "$file_ipconf"
    5252    rm "$file_ntpconf"
     
    5858
    5959# Bound: we've got the lease
    60 #env >"$service.out"  # debug
     60# Record information for e.g. dhcp_$IF_pinger service
     61env >"env.out"
    6162
    6263./convert2ipconf "$file_ipconf"
     
    7071fi
    7172
    72 if test -d /var/service/ntp; then
     73if test -d /var/service/ntpd; then
    7374    ./convert2ntpconf "$file_ntpconf"
    7475    # Reconfigure ntp server addresses if needed
     
    7879        mkdir -p "$dir_ntpconf" 2>/dev/null
    7980        cp "$file_ntpconf" "$dir_ntpconf/$file_ntpconf"
    80         sv t /var/service/ntp
    81         sv u /var/service/ntp
     81        sv t /var/service/ntpd
     82        sv u /var/service/ntpd
    8283    fi
    8384fi
Note: See TracChangeset for help on using the changeset viewer.