Results 1 to 4 of 4

Thread: Creating a custom cheatcode

  1. #1
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92

    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

  2. #2
    Junior Member
    Join Date
    Feb 2004
    Posts
    1

    hi

    Hi @all!

    I'm interested in the same things!! Especially in loading various configurations for different boot-parameters!

    Is this possible?
    THX
    clumsy

  3. #3
    Junior Member
    Join Date
    Jan 2004
    Posts
    2
    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....

  4. #4
    Member registered user
    Join Date
    Feb 2003
    Location
    Vancouver BC
    Posts
    92
    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

  1. cheatcode: home=xxx
    By wslkevin in forum General Support
    Replies: 8
    Last Post: 09-23-2004, 01:45 AM
  2. I need help creating a custom bootable CD,auto install to HD
    By cobra133 in forum Customising & Remastering
    Replies: 3
    Last Post: 06-18-2004, 06:34 AM
  3. custom knoppix halts at creating directories on ramdisk
    By coladicooka in forum Customising & Remastering
    Replies: 5
    Last Post: 10-23-2003, 02:10 AM
  4. new CheatCode HOWTO?
    By kbreen in forum Customising & Remastering
    Replies: 0
    Last Post: 02-17-2003, 02:03 PM
  5. nosound cheatcode
    By eadz in forum Ideas
    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
  •  


Crucial MX500 500GB 2.5

Crucial MX500 500GB 2.5" SATA III Internal SSD CT500MX500SSD1

$52.99



SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE picture

SSD 880EVO SATA III 2.5 4TB INTERNAL STATE DRIVE

$214.99



Samsung 860 EVO 250GB, SATA III, 2.5

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black...

$30.00



Samsung 860 EVO 250GB SSD MZ-76E250 2.5

Samsung 860 EVO 250GB SSD MZ-76E250 2.5" SATA III Solid State Drive

$39.99



Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot picture

Netac 2TB 1TB 512GB 256GB Internal SSD 2.5inch SATAIII Solid State Drive lot

$549.00



M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health picture

M.2 SATA SSD 2280 128GB 256GB 512GB major brands | Very Good health

$56.99



Western Digital WD Blue 3D NAND 500GB 2.5in SATA III Internal SSD WDS500G2B0A picture

Western Digital WD Blue 3D NAND 500GB 2.5in SATA III Internal SSD WDS500G2B0A

$44.99



Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD picture

Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD

$129.99



Kingston 128GB M.2 SATA III SSD  picture

Kingston 128GB M.2 SATA III SSD

$13.00



Samsung 850 EVO 250GB SATA III 2.5

Samsung 850 EVO 250GB SATA III 2.5" Internal SSD (MZ7LN250HMJP) dell Lenovo hp

$32.99