diff options
author | Michael Janczyk | 2010-07-22 18:46:52 +0200 |
---|---|---|
committer | Michael Janczyk | 2010-07-22 18:46:52 +0200 |
commit | f7292356acc5429b7cc3a61e0bbac7ff9b0dc74e (patch) | |
tree | ee494eda60e12cd9e557cc665f35292e26998de8 /initramfs/stage3-stuff/init | |
parent | added systems suse 11.3 scilin 5.4-5.5, todo installer packages for suse 11.3... (diff) | |
download | core-f7292356acc5429b7cc3a61e0bbac7ff9b0dc74e.tar.gz core-f7292356acc5429b7cc3a61e0bbac7ff9b0dc74e.tar.xz core-f7292356acc5429b7cc3a61e0bbac7ff9b0dc74e.zip |
Suse.pm: bugfix, forgot ","
init: replaced string extraction, since old did not work anymore
Diffstat (limited to 'initramfs/stage3-stuff/init')
-rwxr-xr-x | initramfs/stage3-stuff/init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |