Results 1 to 2 of 2

Thread: knoppix.sh can't execute bash in the boot sequence?

  1. #1
    Junior Member
    Join Date
    Mar 2005
    Posts
    1

    knoppix.sh can't execute bash in the boot sequence?

    Hi, I remastered my knoppix, but when I try to create my own simple knoppix.sh, only the last line works (resolv.conf), but I can't configure the network with the instructions of my script (ifconfig and route don't work).
    I read the problem's cause is in the boot sequence, when knoppix.sh is executed, the system can't execute bash, X, .... cause they doesn't load.

    my knoppix.sh looks like:
    ---------------------------------------
    #!/bin/bash
    ifconfig 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255
    route add default gw 192.168.0.1
    echo "nameserver 194.179.1.100" >> /etc/resolv.conf
    ---------------------------------------

    Any idea for run a script same my knoppix.sh in the boot sequence?
    Thanks and sorry for my english.
    Adri

  2. #2
    Junior Member registered user
    Join Date
    Dec 2002
    Location
    Germany
    Posts
    10
    hi,
    I put a script like yours in the CD root and a symlink in /etc/rc5.d to this script (you have to remaster!)
    If you want to edit your script later you don't need to remaster again!
    Cheers

Similar Threads

  1. Boot Sequence Optimization
    By Kater Karlo in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 04-03-2005, 05:46 AM
  2. Auto execute script after boot
    By sci_fi in forum General Support
    Replies: 3
    Last Post: 11-20-2004, 03:53 AM
  3. the boot sequence
    By Alexxx in forum General Support
    Replies: 0
    Last Post: 03-04-2004, 11:32 AM
  4. How to watch the boot sequence?
    By wfb in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 12-06-2003, 01:39 AM
  5. colors during boot sequence
    By vampylestat in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-17-2003, 09:16 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
  •  


Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$378.93



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

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

$275.00



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

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

$374.99



Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD picture

Dell PowerEdge R530 2x E5-2630v4 H330 iDRAC8 Port Card Riser No PSU/RAM/HDD

$99.99



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Core | HBA330 | No RAM or HDD

$149.99



Dell PowerEdge R640  8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU picture

Dell PowerEdge R640 8xSFF Server Barebone 2 x Heat Sink w / 2x 1100W PSU

$315.00



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

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

$409.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2690 v3 | 64gb Ram | 2x 1600W

$524.99



Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM picture

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM

$699.00



Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD picture

Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD

$119.99