From: Seewer Philippe Date: Fri, 26 Jun 2009 03:28:38 +0000 (-0400) Subject: Bugfix: Fix BOOTIF argument translation X-Git-Tag: 0.2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2d21db6def6dd1c62325331a32243dd7b45e2b1f;p=thirdparty%2Fdracut.git Bugfix: Fix BOOTIF argument translation --- diff --git a/modules.d/40network/net-genrules.sh b/modules.d/40network/net-genrules.sh index 3d504351f..dbd04741f 100755 --- a/modules.d/40network/net-genrules.sh +++ b/modules.d/40network/net-genrules.sh @@ -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%:}