Compiling a linux kernel to run a command and quit
Hello everyone
I'm attempting to create a Linux box that will be compatible with Macintosh's Netboot. http://www.afp548.com/article.php?st...61220102102611 If the Mac is able to find the Linux box over Netboot, I'd like to be able to boot the Macintosh into a PPC Linux kernel. However, I want the kernel to run a command at boot time and quit instead of logging into a terminal. Does anyone know how to create a custom Linux kernel to just boot, run a command, and quit? |
Are you sure you need a custom kernel? Linux is meant to be heavily configured. Read about the init process
for Debian. Quote:
which means "shut down after you run me". |
The kernel makes your hardware work with the OS.
The kernel do not and cannot make commands. Commands : See post #2, pcardout. |
All times are GMT -5. The time now is 08:04 AM. |