Commit Graph

25 Commits

Author SHA1 Message Date
John Baldwin
993fc0a103 Alter the pccard setup a bit so that it looks prettier by redirecting
pccardc's stdout to /dev/null and outputting short messages on succesful
completion instead much like other rc scripts.

Reviewed by:	imp
2001-03-04 17:34:37 +00:00
Doug Barton
e61b54647e Fix this to be more consistent with similar constructions elsewhere 2001-01-14 09:29:57 +00:00
Doug Barton
e14563a3f3 Apply a more consistent style to the echo statements in /etc/ scripts.
* Put quotes around each line
* Single quotes for lines with no variable interpolation
* Double quotes if there is
* Capitalize each word that begins a line
* Make echo -n 'Doing foo:' ... echo '.' more of a standard

No functionality changes
2000-12-17 08:16:06 +00:00
David E. O'Brien
a1c43e3fbb Add copyright notices. Other systems have been barrowing our /etc files
w/o giving any credit.
2000-10-08 19:20:36 +00:00
Alexander Langer
a237895d7e Print "Enable PC-card." before anything else is done with
PC-card stuff.  Also print a NEWLINE (!!) after that.

I'm driving mad each time when I see messages related to pccard before
"Enable PC-card." and particulary when I see
"Doing initial network setup". on the same line w/o a break.
2000-09-23 17:09:04 +00:00
Warner Losh
b11b638301 Now that pccardc beep actually works, add knob for it in rc.conf/rc.pccard
Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)
1999-12-02 19:48:16 +00:00
Sheldon Hearn
321704296f Apply a consistent style to most of the etc scripts. Particularly, use
case instead of test where appropriate, since case allows case is a sh
builtin and (as a side-effect) allows case-insensitivity.

Changes discussed on freebsd-hackers.

Submitted by:	Doug Barton <Doug@gorean.org>
1999-09-13 15:44:20 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Sheldon Hearn
b68adff6b7 Style clean-up:
* All variables are now embraced: ${foo}

	* All comparisons against some value now take the form:
	  [ "${foo}" ? "value" ]
	  where ? is a comparison operator

	* All empty string tests now take the form:
	  [ -z "${foo}" ]

	* All non-empty string tests now take the form:
	  [ -n "${foo}" ]

Submitted by:	jkh
1999-08-25 16:01:45 +00:00
David E. O'Brien
85acfe393e Don't background pccardd, it nullfies the "-z" flag. pccardd itself
daemonizes, lets just let things progress normally.
1999-07-26 01:08:16 +00:00
Tatsumi Hosokawa
c5f6486175 Removed my name and (old) e-mail address from comments. 1999-07-07 01:26:55 +00:00
Tatsumi Hosokawa
8076c80767 Added pccard_conf parameter to /etc/rc.conf,
and set it to "/etc/pccard.conf.sample" in /etc/defaults/rc.conf.
Perhaps this default value can be inappropriate,
but I set to this value for the convenience of PC-card boot.flp users.
Please correct it if there are better solutions.
1999-07-07 01:19:15 +00:00
Tatsumi Hosokawa
6d0cab6541 Added "pccardd_flags" for rc.conf. 1999-07-04 14:41:20 +00:00
Mark Murray
02f0393e5a This has bitrotted to the state that it is no longer functional.
Make Mike Smith very happy by nuking the PCIC auto-load code. :-)

NOTE - You will have to have PCIC in your kernel again!!
You have been warned!!
1999-05-05 19:34:29 +00:00
Dima Ruban
ee2071b83d Use ``grep -w'' to prevent catching "pcic_pci" 1999-05-04 08:34:55 +00:00
Nate Williams
73f4b721ae - Mixup of kldstat arguments. Use '-i 1' instead of '-n 1' when checking
for the PCIC module in the kernel.

{ I promise this is the last commit! }

Submitted by:	"Sean O'Connell" <sean@stat.Duke.EDU>
1999-03-17 21:57:00 +00:00
Nate Williams
265bb91203 Whoops, fixed typos in PCIC loading command when I modified Sean's
original patch.

Submitted by:	"Sean O'Connell" <sean@stat.Duke.EDU>
1999-03-17 20:57:40 +00:00
Nate Williams
6f88981745 Add a Q&D test before loading the pcic module to make sure there isn't
a compiled in one.

Submitted by:	"Sean O'Connell" <sean@stat.Duke.EDU>
1999-03-17 17:39:50 +00:00
Mark Murray
ba529ee910 Add bits useful to getting laptops going (my Libretto in particular)
Add ActionTec v.90 modem and Libretto Floppy to pccard database;
Autoload pcic device.
1999-02-04 10:06:44 +00:00
Brian Somers
f10b49c852 Add Id keyword. 1998-08-10 19:54:12 +00:00
Jordan K. Hubbard
0862a4aff9 Update the etc world from RELENG_2_2 which is now more up-to-date
(gotta get myself -current again, this is a drag).

Also-fixes-problems-noted-by: Wolfgang Helbig & Joerg Wunsch
1997-05-03 11:22:17 +00:00
Jordan K. Hubbard
4a2d437732 YAMF22 1997-04-28 05:51:57 +00:00
Jordan K. Hubbard
524a1478c8 Bring in rc file changes from -current. 1997-04-27 03:59:19 +00:00
Nate Williams
6951277803 Minor modifications to the PCCARD startup files and comments.
Submitted by:	The Nomads
1997-01-06 06:26:01 +00:00
Nate Williams
d867405fbe Renamed the relevant PC-Card support files to reflect the newest release. 1996-03-14 18:24:07 +00:00