sorry if this is not the correct list.
this code in rc:
...
case ${update_motd} in
[Nn][Oo] | '')
;;
*)
if T=`mktemp /tmp/_motd.XXXXXX`; then
uname -v | sed -e 's,^\([^#]*\) #\(.*
[1-2][0-9][0-9][0-9]\).*/\([^\]*\)
$,\1 (\3) #\2,' > ${T}
awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}}
else
{print}}' < /etc/motd >> ${T}
cmp -s ${T} /etc/motd || {
cp ${T} /etc/motd
chmod 644 /etc/motd
}
rm -f ${T}
fi
;;
esac
used to
1) the cmp -s -> BUS ERROR
2) cp ${T} /etc/motd -> cp: /etc/motd: Bad address
now only 2 is happening - go figure :-)
it also used to, after it went multiuser, to panic when i did the
cmp -s ${T} /etc/motd
any insights?
danny
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message