Subject: Re: upgraded from 2.1 to 3.0rc5, dhcpd problems with bpf
To: Carl Brewer <carl@bl.echidna.id.au>
From: Carl Brewer <carl@bl.echidna.id.au>
List: netbsd-users
Date: 12/10/2005 11:40:09
Carl Brewer wrote:
> Geert Hendrickx wrote:
> 
>> On Thu, Dec 08, 2005 at 06:05:03PM +1100, Carl Brewer wrote:
>>
>>> Dec  8 17:33:37 plug dhcpd: No bpf devices.   Please read the README
>>> section for your operating system.
>>
>>
>>
>> Did you rerun "./MAKEDEV all" in /dev ?  
> 
> 
> Found the problem ...
> 
> My hacky update broke it ... I needed to get the new 3.0 MAKEDEV from
> the etc.tgz tarball and use that.

This is my current update script, have I missed anything obvious?

#!/bin/sh

PWD=`pwd`
echo $PWD
for FILE in base comp games man misc text xbase xcomp xetc xfont xserver
do
     FULLFILE=${PWD}"/"${FILE}".tgz"
     echo $FULLFILE
     ( cd /; tar -xzpf ${FULLFILE} )
done

tar -xzf etc.tgz
mv etc/pam.d /etc/.
cp dev/MAKEDEV* /dev/.
(cd /dev; sh MAKEDEV all)

for FILE in DAEMON LOGIN NETWORKING SERVERS
do
     cp etc/rc.d/$FILE /etc/rc.d/.
done