12345678910111213141516171819202122232425262728293031323334353637383940 |
- #!/bin/sh
- if [ -x ~/bin/${INSTALLKERNEL} ]; then exec ~/bin/${INSTALLKERNEL} "$@"; fi
- if [ -x /sbin/${INSTALLKERNEL} ]; then exec /sbin/${INSTALLKERNEL} "$@"; fi
- if [ -f $4/vmlinuz ]; then
- mv $4/vmlinuz $4/vmlinuz.old
- fi
- if [ -f $4/System.map ]; then
- mv $4/System.map $4/System.old
- fi
- cat $2 > $4/vmlinuz
- cp $3 $4/System.map
- test -x /usr/sbin/elilo && /usr/sbin/elilo
|