source: rtems-libbsd/dhcpcd/genembedh @ 2017a6d

55-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since 2017a6d was f2ed769, checked in by Sebastian Huber <sebastian.huber@…>, on 01/30/14 at 12:29:46

DHCPCD(8): Import

Import DHCPCD(8) from:

http://roy.marples.name/projects/dhcpcd/

The upstream sources can be obtained via:

fossil clone http://roy.marples.name/projects/dhcpcd

The imported version is 2014-01-29 19:46:44 [6b209507bb].

  • Property mode set to 100755
File size: 350 bytes
Line 
1#!/bin/sh
2set -e
3
4: ${TOOL_SED:=sed}
5: ${TOOL_GREP:=grep}
6: ${TOOL_WC:=wc}
7CONF=${1:-dhcpcd-definitions.conf}
8H=${2:-dhcpcd-embedded.h.in}
9
10INITDEFINES=$($TOOL_GREP "^define " $CONF | $TOOL_WC -l)
11INITDEFINE6S=$($TOOL_GREP "^define6 " $CONF | $TOOL_WC -l)
12$TOOL_SED \
13        -e "s/@INITDEFINES@/$INITDEFINES/" \
14        -e "s/@INITDEFINE6S@/$INITDEFINE6S/" \
15        $H
Note: See TracBrowser for help on using the repository browser.