chmod +x scriptname
./scriptname
hi all
if i want a particular script to be started at the boot time , what i should do , where to copy that script, and what are the procedures.
Actually, on knoppix page it is given that copy that script to /etc/rc5.d/ .
i had done that , but its not working, is there any other way to do that
plz tellme
thanks
chmod +x scriptname
./scriptname
If you put the script in /etc/rc5.d, you need to follow the rc naming scheme. So it should be named-
S##scriptname
S tells rc that the script should be started, the ## will tell it when (relative to other services) to run the script. 99 would be the last thing to run, 01 would be the first. You probably want it after 70 if it requires other networking services to already be running. Sticking it as last or nearly last is usually safest.

Dell 6P85J 4TB ST4000NM0063 7.2k 6Gb/s 3.5” SAS SED Hard Drive with Tray
$39.99
Western Digital HUS726T4TAL5204 4TB 7.2K SAS 12Gb/s 3.5" 512e HDD NetApp X375A
$64.00
DELL 2TB Enterprise HDD (7200RPM, 3.5", SATA III, 128MB Cache) HUS722T2TALA600
$49.95
(ST8000NM0045) SEAGATE ENTERPRISE 8TB 7200RPM 4Kn SATA 6Gb/s 3.5" HARD DRIVE
$199.99
Seagate ST4000NM0034 Enterprise 4TB 7200RPM SAS 12Gb/s HDD v4
$39.00
Seagate ST500DM009 BarraCuda 500 GB 3.5" SATA III Desktop Hard Drive
$14.99
Dell ST6000NM0034 1HT27Z-150 NWCCG 6TB SAS 3.5 7.2K ENTERPRISE SERVER DRIVE
$68.99
HGST HUS724040ALA640 HDD 4TB SATA 6Gb/s 7.5K 3.5" 0F19459 512 b/s
$78.00
Seagate ST12000NM0127 12TB 256MB 7200RPM 3.5" SATA 6.0Gb/s Enterprise Hard Drive
$318.99
Seagate ST8000NM0075 Enterprise Capacity 3.5 HDD 8TB SAS Hard Drive 8TB EXOS
$184.99