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.
Western Digital Gold Enterprise 4TB,7200 RPM Internal Hard Disk Drive WD4002FYYZ
$39.95
HITACHI HUS724040ALA640 4TB 7200RPM 64MB SATA 6.0Gb/s 3.5" HARD DRIVE ZERO HOURS
$52.00
Seagate ST1000VM002 1TB 64MB SATA6Gb/s 3.5" (Low Power) Hard Drive -PC, CCTV DVR
$24.99
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.30
HGST Ultrastar DC HC520 12TB SATA 6Gb 256MB 3.5" Enterprise HDD- HUH721212ALE601
$74.99
Seagate ST12000NM0127 12TB SATA 6Gb/s 256MB 7200RPM 3.5" Enterprise Hard Drive
$99.99
1TB HDD/SSD 2.5" SATA Hard Drive with Windows 10 or Windows 11 Pro Installed
$18.99
Seagate Exos X20 18TB SATA 6Gb/s 3.5" Enterprise Hard Drive - ST18000NM003D
$168.00
SAS - HGST Ultrastar 7K4000 HUS724040ALA640 0F14688 3.5" 4TB 7.2K RPM 64MB HDD
$19.99
Seagate ST8000NM0055 8TB 7200RPM 256MB SATA 6.0 Gb/s 3.5" Enterprise Hard Drive
$34.30