-
Junior Member
registered user
you were on the right track, but didn't quite understand how the rc?.d directories work - they are an old unix way of doing startup.
Knoppix is mostly setup by the knoppix-autoconfig, and not much is needed in the other runlevels like 5.
What you would want to do is place your SudoTest.sh script in /etc/init.d, then create a symlink in /etc/rc5.d of the form:
S##SudoTest where the ## is replaced by a two digit number that represents when in the startup sequence the script should run.
Make sure your script is executable ( chmod +x /etc/init.d/SudoTest.sh ),
There isn't much there on a stock knoppix as far as I recall (I'm working from a heavily changed version now, and don't have the original handy),
so you could safely use S50SudoTest. If there are other scripts, just make sure yours happens after the network is brought up the first time...
(prepend your source tree to the dirs above if not working in the chroot environment - /mnt/hda5/knx/source/KNOPPIX/ it looks like ...)
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

AMD Ryzen 7 9800X3D 8-Core 16-Thread AM5 Zen 5 Desktop Processor NEW
$395.00

Clear Touch Interactive Module CTI PCMOD PC55 ST i5 6core,8GB DDR4,256GB SSD NEW
$225.00

Gaming PC: Ryzen 5 3600XT, 16GB RAM DDR4, 512GB NVME SSD GEN 3, 1660Ti Super
$600.00

Intel Core i7-9700 3.0 GHz 8 Core Processor
$85.00

Intel Core Ultra 7 270K Plus 24 cores (8 P-cores + 16 E-cores)
$269.99

Used & Tested Intel Xeon W-2255 SRGV8 3.70GHz 19.25MB 10-Core CPU Processor
$194.99

Intel SR338 Core i7-7700 3.60GHz 8M Socket 1151 Quad-Core CPU Processor LGA1151
$38.99

Intel Core i9-9900K Coffee Lake 8-Core, 16-Thread, 3.6 GHz (LGA 1151)
$189.99

Intel Core i9-9900 SRG18 3.10GHz 16MB 8-Core LGA1151 CPU Processor
$177.21

Dell Latitude 7200 Touch Tablet Laptop 12” Core i5 8GB RAM 256GB SSD Win 11 Pro
$229.99