This is just a small shell script I wrote to assist me in building kernels.  
Feel free to critique my work and if you have any creative additions to it 
I'd love to hear about them.




#!/bin/sh

# simple shell script to build a kernel


case "$1" in
        new)
                make dep &&
                make clean &&
                make modules &&
                make modules_install &&
                make bzImage &&
                cp -f /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-new
                cp -f System.map /boot/System.map-new
                echo "Now opening lilo.conf for editting..."
                perl wait-for-key
                vi /etc/lilo.conf
                lilo
                ;;

        *)
                echo "Usage:  build new"
                exit 1
esac

-- 
Greg A. Bur
[EMAIL PROTECTED]
http://www.rivertown-computers.com

Reply via email to