Date: Thu, 30 Nov 2000 08:05:00 -0800 From: Paul Saab <paul@mu.org> To: Danny Braniss <danny@cs.huji.ac.il> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: diskless/rc Message-ID: <20001130080500.A73135@elvis.mu.org> In-Reply-To: <E141W4v-0003X4-00@sexta.cs.huji.ac.il>; from danny@cs.huji.ac.il on Thu, Nov 30, 2000 at 05:56:57PM %2B0200 References: <E141W4v-0003X4-00@sexta.cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
make sure the kernel you are booting is the same as the NFS file systems you are using. paul Danny Braniss (danny@cs.huji.ac.il) wrote: > 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 majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- Paul Saab Technical Yahoo paul@mu.org - ps@yahoo-inc.com - ps@freebsd.org Do You .. uhh .. Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001130080500.A73135>