summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm2
-rwxr-xr-xinitramfs/stage3-stuff/init2
2 files changed, 2 insertions, 2 deletions
diff --git a/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm b/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm
index 2f5b8df4..a2803501 100644
--- a/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm
+++ b/boot-env/OpenSLX/MakeInitRamFS/Distro/Suse.pm
@@ -52,7 +52,7 @@ sub determineMatchingHwinfoVersion
'10.3' => '14.19',
'11.0' => '15.3',
'11.1' => '15.21',
- '11.2' => '15.21'
+ '11.2' => '15.21',
'11.3' => '15.21'
);
return $versionMap{$distroVersion}
diff --git a/initramfs/stage3-stuff/init b/initramfs/stage3-stuff/init
index 40816192..86d9da9c 100755
--- a/initramfs/stage3-stuff/init
+++ b/initramfs/stage3-stuff/init
@@ -386,7 +386,7 @@ runinithook '10-nw-if-config'
if strinstr "eth" "$nwif" ; then
for ethif in eth0 eth1 eth2 eth3 ; do
export macaddr=$(ip link show dev $ethif 2>/dev/null | \
- sed -n "/ether [0-9e-f]\{2\}:.*/p" | sed -e "s/.*ether //;s/ .*//")
+ grep -i link.ether | awk '{print $2}')
# if there is no bootmac present in kernel commandline any checks are
# useless
if [ -z "$bootmac" ] ; then