Commit fe0f9a46 authored by Michal Hrusecky's avatar Michal Hrusecky 🦎

rescue-mode-omnia: No awk

parent d42c47c0
......@@ -115,7 +115,7 @@ reflash () {
# find image (give it 10 tries with 1 sec delay)
for i in `seq 1 10`; do
$BIN_MDEV
for dev in `$BIN_AWK '$4 ~ /sd[a-z]+[0-9]?/ { print $4 }' /proc/partitions`; do
for dev in $(cd /dev; ls sd*); do
d "Testing FS on device $dev"
[ -b "/dev/$dev" ] || continue
mount_fs "/dev/$dev" $SRCFS_MOUNTPOINT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment