Edit detail for shell script to build a NTFS kernel revision 2 of 2

1 2
Editor: rgouveia
Time: 2009/04/16 12:41:55 GMT+2


export MACHINE=`machine`

cd /usr/src/sys/arch/$MACHINE/conf
# substitute #option with option for lines which contain NTFS
sed -e '/NTFS/s/#option/option/g' GENERIC > NTFS

echo "Doing the config for NTFS"
config NTFS
cd ../compile/NTFS
echo "Starting building kernel ..."
make clean && make depend && make
cp /bsd /bsd.old && cp bsd /bsd && echo "You can now reboot the system."