title: Help with linux kernel compilation script
body: <p>i wrote a script to compile the kernel:</p>
  
  <pre><code>cd /usr/src/linux-2.4.18-14custom
  make bzImage
  make modules
  make modules_install
  cd arch/i386/boot
  yes|cp bzImage /boot/vmlinuz-2.4.18-14custom
  cd /boot
  yes|mv 2.4.18-14custom.img 2.4.18-14custom.img.back
  mkinitrd 2.4.18-14custom.img 2.4.18-14custom
  reboot
  </code></pre>
  
  <p>if i execute every line in the console it works, but when I put all of them in the script it executes only this 2 lines and ends:</p>
  
  <pre><code>    make bzImage
      make modules
  </code></pre>
  
  <p>any ideas to make it work?</p>