Greg,

1. What's the difference between copying all those files manually and doing "make 
install"?

2. Where's your "depmod -a"?

3. And on a totally different  note, i like "usage: $0 new" in case someone wants to 
rename the
script.

4. I'm assuming you've tested it out? But then what about things not working without 
having done
"depmod -a"?


?,
j

--- "Greg A. Bur" <[EMAIL PROTECTED]> wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

Reply via email to