Results 1 to 2 of 2

Thread: Is it possible to call a script from knoppix.sh?

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    1

    Is it possible to call a script from knoppix.sh?

    Hi all, I am new to Knoppix, recently I downloaded v6.7 and put it to PXE. I am wondering is it possible to call a script from knoppix.sh? I tried to put the path of my new script in knoppix.sh, and chmod+x the new script, but after knoppix booted up the new script won't execute. Thanks

    I have the default settings file myconf=scan

    knoppix.sh command:
    #!/bin.sh
    echo "Hi knoppix"
    sh /tftpboot/KNOPPIX/test.sh
    echo "Bye knoppix"

    Outcome:
    Executing /mnt/system/KNOPPIX/knoppix.sh
    Hi knoppix
    sh: can't open 'tftpboot/KNOPPIX/test.sh'
    Bye knoppix
    INIT:Entering runlevel:3

  2. #2
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    Quote Originally Posted by coloringb View Post

    knoppix.sh command:
    #!/bin.sh
    echo "Hi knoppix"
    sh /tftpboot/KNOPPIX/test.sh
    echo "Bye knoppix"

    Outcome:
    Executing /mnt/system/KNOPPIX/knoppix.sh
    Hi knoppix
    sh: can't open 'tftpboot/KNOPPIX/test.sh'
    Bye knoppix
    INIT:Entering runlevel:3
    Is there any typo error ?
    It should probably be :-

    sh: can't open '/tftpboot/KNOPPIX/test.sh'
    ( leading slash is missing from your post )

    Also the '#!/bin.sh' should be '#!/bin/sh'.

    If that's the case check the file permission of /tftpboot and /tftpboot/KNOPPIX, it should be r_x for the person wanting to access it. Another possibility is the directory /tftpboot/KNOPPIX does not even exist. You can try to use the cheatcode 'debug' to help you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Vintage 5362 IBM System/36 Mini-Computer Mainframe 5291 2, CRT Terminal DM12N501 picture

Vintage 5362 IBM System/36 Mini-Computer Mainframe 5291 2, CRT Terminal DM12N501

$249.99



Magitronic Quad Speed Creative  picture

Magitronic Quad Speed Creative

$150.00



Computone Systems SST Teletype Portable Briefcase Mainframe Computer Terminal picture

Computone Systems SST Teletype Portable Briefcase Mainframe Computer Terminal

$169.95



Vintage Hewlett Packard HP 2100S Microprogrammable Computer System Mainframe #2 picture

Vintage Hewlett Packard HP 2100S Microprogrammable Computer System Mainframe #2

$1499.99



Lot of 2 Vintage DEC Digital Computer Mainframe VT100 Keyboards Untested picture

Lot of 2 Vintage DEC Digital Computer Mainframe VT100 Keyboards Untested

$239.99



IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection - UNTESTED picture

IBM Type 4869 External 5 1/4in Floppy Disk Drive Mainframe Collection - UNTESTED

$75.00



Vintage Hewlett Packard HP 2100A Microprogrammable Computer System Mainframe picture

Vintage Hewlett Packard HP 2100A Microprogrammable Computer System Mainframe

$1499.99



Cray Research Supercomputer Cray X-MP ECL Logic Board picture

Cray Research Supercomputer Cray X-MP ECL Logic Board

$149.99



Pesa Switching Systems LNS-8 Mainframe Assy  picture

Pesa Switching Systems LNS-8 Mainframe Assy

$99.50



NCR Mechanical Keyboard USB Wired 01027100 Beige Mainframe Collection picture

NCR Mechanical Keyboard USB Wired 01027100 Beige Mainframe Collection

$261.99