Results 1 to 2 of 2

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

Hybrid View

  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
  •  


Samsung 2.5

Samsung 2.5" 870 EVO SSD SATA III 250GB 500GB 1TB Internet Solid State Drive Lot

$60.00



External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac picture

External SSD 1TB 2TB 4TB Portable Hard Drive USB 3.0 Type-C High Speed PC Mac

$19.99



Dell Latitude 14

Dell Latitude 14" Laptop Computer Intel i5 Up To 32GB RAM 1TB SSD Windows 11 Pro

$545.25



Seagate Desktop 1TB/1000GB SATA 3.5

Seagate Desktop 1TB/1000GB SATA 3.5" HDD Hard Drive

$29.99



Acer Predator Helios Neo 16S AI 16

Acer Predator Helios Neo 16S AI 16" i9 275HX 2S RTX 5070 Ti 32GB 1TB SSD Refurb

$1746.47



SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM picture

SAMSUNG T7 Portable SSD 1TB Indigo Blue USB 3.2 Gen2 External MU-PC1T0H/AM

$159.99



1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive picture

1TB Kingston DataTraveler Max DTMAX/1TB USB Type-C Flash Drive

$86.95



Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot picture

Netac 2TB 1TB 500GB Internal SSD M.2 NVMe PCIe3.0 Solid State Drive lot

$129.99



Samsung 1TB SSD BM91H 1TB (MZ-VMA1T00) Internal SSD M.2 picture

Samsung 1TB SSD BM91H 1TB (MZ-VMA1T00) Internal SSD M.2

$135.00



AYANEO AM01 AMD Ryzen 7 5800U Gaming Mini PC Retro Classic DP DDR4 32GB 1Tb picture

AYANEO AM01 AMD Ryzen 7 5800U Gaming Mini PC Retro Classic DP DDR4 32GB 1Tb

$400.00