-
I need to include a script in the startup!
For reasons mentioned in another topic:
http://knoppix.net/forum/viewtopic.p...886de5994fd572
I need to write a shell script. The script needs to simply perform the following command:
sudo ifdown eth0 && sudo ifup eth0
Can someone help me? I need to know how to write this script and where to place it to have it automatically run when the KNOPPIX OS is loaded on a remastered CD. I'm new to Linux, but it looks like I can create a new text file, name it SudoTest.sh and simply put the above text followed by 'exit' and it will work. So if I'm correct, all I need to know is where I need to place this SudoTest.sh file in order to have it auto-run at bootup. If I'm reading the remastering instructions properly, this script needs to be placed in the /mnt/hda5/knx/source/KNOPPIX/etc/rc5.d directory. Can someone confirm? Is it really that simple?
Thank you,
Brandon
Similar Threads
-
By monkeyking in forum MS Windows & New to Linux
Replies: 1
Last Post: 01-03-2005, 10:19 PM
-
By niXnoob in forum General Support
Replies: 3
Last Post: 10-06-2004, 04:56 AM
-
By obsoleto in forum General Support
Replies: 1
Last Post: 06-02-2004, 05:43 AM
-
By darthczyz in forum Customising & Remastering
Replies: 2
Last Post: 04-14-2004, 06:06 PM
-
By orcslayer in forum General Support
Replies: 1
Last Post: 01-03-2004, 02:04 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

S-100 Vector Graphic 12K PROM/RAM Board (Altair, IMSAI)
$99.95

S-100 Vector Graphic 64K Ram Board (Altair, IMSAI)
$99.95

Vintage Digital Research ZSID 1.4 8" Floppy Disk CP/M Z80 Software S-100 Altair
$69.99

S-100 Industrial Micro Systems 8K Static Ram (IMS, Altair, IMSAI)
$69.95

Altair MITS S100 Backplane 8080A S-100 Replica IMSAI CP/M (bare board)
$40.00

BYTE Magazine Cover Jan 1977 Canvas Print 8"x10" Retro Computer Altair 880
$7.00

TDL “the ZPU” rev 1 February 1977 s100 cpu board
$345.00

S-100 backplane motherboard bare PCB 9 slot (for Altair/IMSAI)
$34.99

CP/M 86 1.1R 8086 Highmonitor 8 Inch Floppy Diskette 80s IMSAI Altair
$29.99

ALTAIR Bitcoin Mining Solutions PDU IEC SERIES 100-250V 30A/24A Power Distribute
$99.00