2 # $Id: make-pimp 166 2012-05-12 18:15:42Z aquarius $
3 pimp_2way_nat
="/dev/shm/pimp-2way-nat.tmp"
4 pimp_snat
="/dev/shm/pimp-snat.tmp"
5 etchosts
="/mnt/mtdblock0/hosts"
7 echo -n "Writing $pimp_2way_nat"
8 echo "#This file was generated by Prometheus-tools/make-pimp" > $pimp_2way_nat
9 sed -e '/^#/d; /^$/d; /.*\[.*\]/!d; s/[ \t].*#.*\[/ /; s/\].*$//' < $etchosts >> $pimp_2way_nat
12 echo -n "Writing $pimp_snat"
13 echo "#This file was generated by Prometheus-tools/make-pimp" > $pimp_snat
14 sed -e '/^#/d; /^$/d; /.*(.*)/!d; s/[ \t].*#.*(/ /; s/).*$//' < $etchosts >> $pimp_snat
This page took 0.398354 seconds and 5 git commands to generate.