Hi all
i am running openbsd snapshot and have sysupgraded  often without a single
hitch,
on this occasion i have encountered the following error after the
sysupgrade and the laptop tried to reboot
i entered sh and had a look at /etc/rc with ed,
the if is matched with a fi.
so i need suggestions where to turn to next
---------------------

reordeing libraries: done
/etc/rc[464]: syntax error: `if' unmatched
enter pathname of shell or return for sh:


laptop# ed /etc/rc
16304
464
if (($(ifconfig | grep -c ': flags=.*<.*AUTOCONF.*> mtu) == 0)); then
    count=0
    while ((count++ < 20 && $(route -n show | grep -c '^default ') == 0));
do
        sleep .5
    done
fi

---------------------------

any help would be  appreciated.
shadrock

Reply via email to