Typical, as soon as I asked the question, I figured it out, at least most of it.![]()
You simply place the script in the /etc/init.d/ directory, and then run update-rc.d on it. After rebuilding it, it will execute the script on startup.
Hey folks,
I'm ok with Linux, but no master, so I request the help of some of the sagely contributors here. I've searched, but couldn't find the answer to my question.
What I need to do is have a user boot a system using customized knoppix CD, launch at runlevel 2, and automatically execute a script so that they never see the command line, only respond to prompts by the script. Now, booting into runlevel 2 by default is easy enough, but how do you force the system to autorun a script? Thanks in advance for any help you can give me.
Typical, as soon as I asked the question, I figured it out, at least most of it.![]()
You simply place the script in the /etc/init.d/ directory, and then run update-rc.d on it. After rebuilding it, it will execute the script on startup.

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.
$629.99
Lot of 2 IBM blade center Type H chassis 8852
$559.00
IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU
$200.00
IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM
$149.99
IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS
$80.00
IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server
$999.95
IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES
$108.92
IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU
$999.99
Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series
$281.25
IBM 7014-T00 Enterprise 19" Rack Enclosure No Keys
$549.95