-
Creating a custom cheatcode
Is it possible to create my own cheatcode?
I basically want the user to be able to type in : knoppix user1 OR knoppix user2 or something like that.
knoppix user1 would combine the noeject, and the noscsi option
knoppix user2 would combine the noeject, noscsi, and nosound options
Just an example.
I would also like to be able create a cheatcode that runs a specific shell script. Eg: knoppix script1 would run /etc/init.d/ssh start
while knoppix script2 would run /etc/init.d/apache start, for example
Any ideas?
- Ambrose
-
hi
Hi @all!
I'm interested in the same things!! Especially in loading various configurations for different boot-parameters!
Is this possible?
THX
clumsy
-
Sure it's possible but it will take some time and work on your part... in brief:
1) learn how to remaster the Knoppix CD... there is info in DOCS and the forums on this site as to how you do this
2) dig into the main startup script for Knoppix where most of the work gets done... this is the /etc/init.d/knoppix-autoconfig script. This is where most of the boot codes are checked and various startup actions taken based on those. You will need to be a pretty capable BASH script writer to make the mod's you need. Once changed, you will then need to burn a new CD based on the changed Knoppix directory structure.
Hope that leads you into the direction you need....
-
Excellent! That is exactallu the answer I was looking for.
I was afraid that the cheetcodes where build into the kernel.
Thanks,
- Ambrose
Similar Threads
-
By wslkevin in forum General Support
Replies: 8
Last Post: 09-23-2004, 01:45 AM
-
By cobra133 in forum Customising & Remastering
Replies: 3
Last Post: 06-18-2004, 06:34 AM
-
By coladicooka in forum Customising & Remastering
Replies: 5
Last Post: 10-23-2003, 02:10 AM
-
By kbreen in forum Customising & Remastering
Replies: 0
Last Post: 02-17-2003, 02:03 PM
-
Replies: 1
Last Post: 02-02-2003, 03:27 PM
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

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p
$499.88

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD
$275.00

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter
$27.50

DELL POWEREDGE R340 Server | Xeon E-2126G 64GB RAM PERC H330 (Onboard)
$399.95

Dell PowerEdge R730 8 Bay Server 64Gb 1x80Gb SSD 3x900Gb SAS 2x12c v4CPU Proxmox
$620.00

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb
$374.99

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W
$484.99

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO
$308.00

Dell Poweredge C4130 2x LGA2011-3 1U 4x GPU Rackmount Server CTO (NO CPU/NO RAM)
$299.95

DELL POWEREDGE R640 8SFF 2x 8 CORE SILVER 4208 2.1GHZ 32GB RAM H740P NO HDD
$565.00