]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Bugfix: Fix BOOTIF argument translation
authorSeewer Philippe <philippe.seewer@bfh.ch>
Fri, 26 Jun 2009 03:28:38 +0000 (23:28 -0400)
committerWarren Togami <wtogami@redhat.com>
Fri, 26 Jun 2009 03:28:38 +0000 (23:28 -0400)
modules.d/40network/net-genrules.sh

index 3d504351f2e6e5de7f9290f7492eed6dbaf4f559..dbd04741f1fa81d025ed7dcafbf4c152e2363b63 100755 (executable)
@@ -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%:}