LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-27-2004, 10:11 AM   #1
bosun
LQ Newbie
 
Registered: Mar 2004
Posts: 3

Rep: Reputation: 0
Question Yes/No option on startup....?


Hi, I have recently managed to get my WG511 wireless card working on Mandrake 10 (Woo hoo!) but it seems I need to run a number of commands to get it up and running. I have added these commands to /etc/rc.d/rd5.d/S99local and they work fine, however, i would like to be able to skip the commands for when I am not in range of the WLAN. For preference I would like something along the lines of a 3 second delay/window in which to press a key which would skip the commands and if no key is pressed it loads them automatically. Anyone got the answer? I would be very chuffed if this is doable.....!
 
Old 03-27-2004, 10:30 AM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
It's possible that you could set up one of the unused runlevels (isn't 4 unused on mandrake?) to not call the script that starts S99local. It looks like you've added that to runlevel 5 (rc5.d is for runlevel 5) so perhaps you could change the scripts for runlevel 4 to be exactly the same only minus the stuff about your network card settings so if you're in range you load into runlevel 5, if not you use runlevel 4. If you use lilo you change runlevel by following the image name with the runlevel number you want to use. I presume there's something similar in grub.

I'm sure there's a better way than this...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
My Redhat Linux 9 machine won't startup but gives a startup error" njugs79 Linux - Newbie 2 03-23-2005 01:50 AM
rc.local yes/no option during startup jkassemi Linux - General 2 03-06-2005 11:54 AM
why does eth01 fail on startup and delay startup? infantpenguin Linux - Newbie 3 01-28-2005 11:45 AM
ALSA Startup error, MPlayer startup error, Sid andymadigan Debian 4 08-03-2004 05:15 PM
PM option... r_jensen11 LQ Suggestions & Feedback 1 11-25-2003 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration