Home | History | Annotate | Download | only in dhcpcd-6.8.2
      1 #!/bin/sh
      2 set -e
      3 
      4 : ${TOOL_SED:=sed}
      5 CONF=${1:-dhcpcd-definitions.conf}
      6 
      7 cat dhcpcd-embedded.c.in
      8 $TOOL_SED \
      9 	-e 's/#.*$//' \
     10 	-e '/^$/d' \
     11 	-e 's/^/"/g' \
     12 	-e 's/$/\",/g' \
     13 	-e 's/ [ ]*/ /g' \
     14 	-e 's/	[	]*/ /g' \
     15 	$CONF
     16 printf "%s\n%s\n" "NULL" "};"
     17