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
  •  


IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD. picture

IBM Power S822 POWER8 1x CPU 32GB DDR4 RAM 2U Rack Server No HDD.

$629.99



Lot of 2 IBM blade center Type H chassis 8852 picture

Lot of 2 IBM blade center Type H chassis 8852

$559.00



IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU picture

IBM 7915 AC1 M4 E27R704 Server Intel 2650V2 32GB RAM NO HDD w/ 2x 750w PSU

$200.00



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$149.99



IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS picture

IBM 4262 SYSTEM x3200 Tower - HDD Wiped, NO OS

$80.00



IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server picture

IBM Power S922 9009-22A Power9 DDR4 10GbE 6X SFF Barebone Server

$999.95



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$108.92



IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU picture

IBM Power 8 S822L Server 8247-22L POWER8 Enterprise 256GB RAM 2x 00KV626 CPU

$999.99



IBM 01LJ835 900GB H-Performance 15K HDD Internal Hard Disk Drives S4H7NX0NC00980 picture

IBM 01LJ835 900GB H-Performance 15K HDD Internal Hard Disk Drives S4H7NX0NC00980

$300.00



Unused IBM 09P0037 MAINBOARD For  RS/6000 7044-170 P-Series picture

Unused IBM 09P0037 MAINBOARD For RS/6000 7044-170 P-Series

$281.25