Browse Source

Bugfix: Fix BOOTIF argument translation

master
Seewer Philippe 16 years ago committed by Warren Togami
parent
commit
2d21db6def
  1. 2
      modules.d/40network/net-genrules.sh

2
modules.d/40network/net-genrules.sh

@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@

# pxelinux provides macaddr '-' separated, but we need ':'
fix_bootif() {
local macaddr=${1##??-}
local macaddr=${1}
local IFS='-'
macaddr=$(for i in ${macaddr} ; do echo -n $i:; done)
macaddr=${macaddr%:}

Loading…
Cancel
Save