-
Is it a mistake to leave scripts in /etc/init.d that I dont want to run at boot time?
I have Knoppix installed on my hard disc (distro 7.0.2, kernel release 3.3.7.).
Could you please tell me if ALL scripts in the directory /etc/init.d/ are
executed at boot time?
The reason I ask is because I have altered (intelligently) one or two of the
standard scripts that are in /etc/init.d/, such as
/etc/init.d/knoppix-startx
/etc/init.d/knoppix-autoconfig.
But before I altered them, I kept a copy of the originals in /etc/init.d/, and
in the above case the copies I kept are
/etc/init.d/knoppix-startx-ORIG
/etc/init.d/knoppix-autoconfig-ORIG.
Does this mean that these latter scripts are actually being run at boot time
AS WELL AS
/etc/init.d/knoppix-startx
/etc/init.d/knoppix-autoconfig?
The system seems to run fine, but it's only just occurred to me (after a couple
of years of use), that I might be running 2 lots of scripts as above.
Your advice would be much appreciated, thanks.
-
Why bother and not keep Knoppix simple and leave it as it is DESIGNED to be used?
-
Senior Member
registered user
Originally Posted by
philo
Why bother and not keep Knoppix simple and leave it as it is DESIGNED to be used?
Take a look in /etc/rc.local to get the answer to that question.
-
No, Knoppix doesn't take care of '/etc/init.d/knoppix-startx-ORIG' and '/etc/init.d/knoppix-autoconfig-ORIG'.
Have a look at '/etc/inittab'.
-
Many thanks Werner. Your kind reply is most welcome. I can breathe a sigh of relief that I haven't made a blunder.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS
$712.98
HP ProLiant DL360 G9 Server | 2 x E5-2660V3 2.6Ghz | 64GB | 2 x 900GB SAS HDD
$339.00
Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays
$1849.00
Dell PowerEdge R7525 Server 24X2.5(8XNVME)+H745 2xEPYC 7302 CPU 128G RAM 2x2400W
$3350.00
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$89.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
HP Proliant DL360 Gen9 28 Core SFF Server 2X E5-2680 V4 16GB RAM P440ar No HDD
$196.95
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB
$200.00