Hi,

one of our embedded systems, booting from ro-flash, refused to reboot. 
Analyzing the problem, I stumbled upon these lines:

# set hostname, turn on network
echo 'starting network'
ifconfig -g carp carpdemote 128
if [ -f /etc/resolv.conf.save ]; then
  mv /etc/resolv.conf.save /etc/resolv.conf
  touch /etc/resolv.conf
fi
. /etc/netstart

Would it hurt to add a "-f" option to the mv command?

Kind regards,
-- 
Steffen Beyer <sbe...@reactor.de>

GnuPG key fingerprint: CA00 1611 242B 89D4 E643  E235 05F3 7689 DD3E EB26
Public key available upon request or at http://wwwkeys.de.pgp.net

Reply via email to