diff options
author | ramon <ramongomez@us.es> | 2016-11-18 08:52:38 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2016-11-18 08:52:38 +0000 |
commit | 7b3dc7ab2fcebebef7229ac663a3d3ee61263d0e (patch) | |
tree | e83279c9a9b9bb02d78abd7aa60a3d6256744fce /server/bin/comparedhcpopengnsys | |
parent | 006c122d032a8672aafc443f103f2c058fc3f53d (diff) |
Versión 1.0.6b #719: Usar ficheros PXE con MAC en mayúsculas (topic:288); soportar tabuladores en comparación DHCP-BD.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5099 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin/comparedhcpopengnsys')
-rwxr-xr-x | server/bin/comparedhcpopengnsys | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/bin/comparedhcpopengnsys b/server/bin/comparedhcpopengnsys index 53a9684c..38b05710 100755 --- a/server/bin/comparedhcpopengnsys +++ b/server/bin/comparedhcpopengnsys @@ -40,7 +40,7 @@ EOT trap "rm -f $TMP_DHCP $TMP_MYSQL $TMP_MYCNF" 1 2 3 9 15 # Creo fichero temporal del dhcp grep -v "#" $DHCPFILE |egrep -e "host " -e "hardware ethernet" -e fixed-address | sed -e 's/.$//' \ - |sed -e s/"^.*host "//g -e s/\{/\;/g -e s/"^.*hardware ethernet "/=/g -e s/"^.*fixed-address "/=/g \ + | sed -e s/"^.*host[[:space:]]*"//g -e s/\{/\;/g -e s/"^.*hardware ethernet[[:space:]]*"/=/g -e s/"^.*fixed-address[[:space:]]*"/=/g \ | sed -e :a -e '$!N;s/\n=/ \;/;ta' -e 'P;D'\ | sed -e s/\ //g -e s/://g -e s/\;$//g -e s/\;\;/\;/g |sort > $TMP_DHCP |