-
Getting rid of startup script actions
Hello,
I have used Knoppix for about 2 years now on my hard drive. I periodically update via apt to keep my system up to date and I had not realized there was a knoppix site in sources.list. Recently when I did an update I have all kinds of annoying behavior I woudl like to get rid of. After this, I removed any Knoppix references from sources.list so this cannot happen again, but the damage has been done.
Some startup script is now active and it rewrites my inetd.conf and fstab each time I boot. The annoying thing is it makes an inetd.conf that activates pop and imap each time which is silly on my computer. Each time I comment them out, they come back the next reboot. I then decided to be clever and installed xinetd to replace inetd. Since knoppix does not touch my xinetd.conf, those two services are no longer started, but now I have a flood of messages about using xinetd.conf and how the changes to inetd.conf are not taking effect. Good, I do not want them! However, I really want rid of these messages during startup and shutdown. I cannot find where this is done. I found the part of knoppix-autoconfig where fstab is rewritten and I have commented this out. What script tries to rewrite inetd.conf?
Is there a reasonably simple way to get my Knoppix to be more like Debian in terms of booting and where from programs are called? I do not want to install a new Knoppix with the Debian-like option because the system is working pretty well and I don't want to have to reconfigure all my settings. If I am going to reinstalll, I will use a Debian CD but I hope this is not necessary.
-
Senior Member
registered user
What type of HD install is this (looks like a Knoppix-style). The /etc/init.d/knoppix-autoconfig script is not used with the Debian style install.
You can compensate for some of this using cheatcodes; eg cheatcode 'nofstab' will prevent Knoppix from overwriting your fstab. On a Hd install, cheatcodes are implemented by the 'append=' line in /etc/lilo.conf. Just edit tis file then rerun lilo to implement the changes.
Apt-get upgrade modifies the system to start every available service by default. Run sysV-init to remove any services you don't want.
The startup sequence is in /etc/rcS.d, the startup sequence for each runlevel is in the rc file for that runlevel.
You can check out here: http://www.icon.co.za/~psheer/book/index.html.gz for an excellent reference which gives more detail on Linux boot & startup processes.
-

Originally Posted by
CrashedAgain
The startup sequence is in /etc/rcS.d, the startup sequence for each runlevel is in the rc file for that runlevel. You can check out here:
http://www.icon.co.za/~psheer/book/index.html.gz for an excellent reference which gives more detail on Linux boot & startup processes.
Before /etc/rcS.d there is a script in Knoppix which does all the reconfiguring. I can't remember which one it was, whether it was in /etc or in the CD-ROM, and I can't find the reference in this forums.
I had a similar problem with hostname and the date. No matter what configuration file I had, the script would overwrite it. A search in the Knoppix packages using aptitude, dpkg or similar should make it easy to identify (if you have the linuxtag server in sources.list of course
)
--GN
Similar Threads
-
By monkeyking in forum MS Windows & New to Linux
Replies: 1
Last Post: 01-03-2005, 10:19 PM
-
By niXnoob in forum General Support
Replies: 3
Last Post: 10-06-2004, 04:56 AM
-
By obsoleto in forum General Support
Replies: 1
Last Post: 06-02-2004, 05:43 AM
-
By darthczyz in forum Customising & Remastering
Replies: 2
Last Post: 04-14-2004, 06:06 PM
-
By orcslayer in forum General Support
Replies: 1
Last Post: 01-03-2004, 02:04 AM
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

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$175.90

SK hynix 32GB PC4-25600 DDR4-3200 Memory - HMAA4GR7AJR8N-XN
$189.99

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$288.19

Apple iPad 11th Generation 10.9" 128GB (Wi‑Fi + 5G) Blue
$220.00

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

HP56U46BS8MD-16 DDR5 16GB (1x16GB) DIMM Desktop Memory 5600MHz (brand may vary)
$4750.00

Sandisk 32GB 64GB 128GB 256GB Cruzer Glide Flash Drive USB 2.0 Memory Lot
$201.78

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot
$285.90

Lot Of 4 NEW SAMSUNG 16GB PC4-2933Y-RC2-12-DC1 Memory
$299.00

OWC 128GB (16GBx8) PC10600-DDR3 ECC Kit Brand New Sealed
$179.00