From f96441b9faf769c9ecdd4d338b605ea3d0cc4010 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 9 Nov 2004 00:36:47 +0000 Subject: Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches. BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA --- pcmcia-cs/files/pcmcia | 1 + pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch | 20 ++++++++++++++ pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts | 47 +++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) (limited to 'pcmcia-cs') diff --git a/pcmcia-cs/files/pcmcia b/pcmcia-cs/files/pcmcia index e69de29bb2..c42fea0691 100644 --- a/pcmcia-cs/files/pcmcia +++ b/pcmcia-cs/files/pcmcia @@ -0,0 +1 @@ +# no defaults for /etc/sysconfig/pcmcia diff --git a/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch b/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch index e69de29bb2..7237f3b813 100644 --- a/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch +++ b/pcmcia-cs/pcmcia-cs-3.2.8/busybox.patch @@ -0,0 +1,20 @@ +--- pcmcia-cs-3.2.3/etc/shared~ide 2003-03-11 10:26:14.000000000 -0600 ++++ pcmcia-cs-3.2.3/etc/shared 2003-03-11 10:32:39.000000000 -0600 +@@ -57,7 +57,7 @@ + fi + if is_true $DO_MOUNT ; then + O=${OPTS:+-o $OPTS} ; FS=${FSTYPE:+-t $FSTYPE} +- log mount -v $O $FS $1 $MOUNTPT || return 1 ++ log mount $O $FS $1 $MOUNTPT || return 1 + fi + return 0 + } +@@ -85,7 +85,7 @@ + test -b $1 || return 1 + do_fuser -k -m $1 > /dev/null + if mount | grep -q "$1 on" ; then +- log umount -v $1 || return 1 ++ log umount $1 || return 1 + fi + if is_true $DO_FSTAB ; then + grep -v $1 /etc/fstab > /etc/fstab.N diff --git a/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts b/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts index e69de29bb2..3e498297fc 100644 --- a/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts +++ b/pcmcia-cs/pcmcia-cs-3.2.8/wireless.opts @@ -0,0 +1,47 @@ +# Wireless LAN adapter configuration +# +# Theory of operation : +# +# The script attempts to match a block of settings to the specific wireless +# card inserted, the *first* block matching the card is used. +# The address format is "scheme,socket,instance,hwaddr", with * as a wildcard. +# 'scheme' is the pcmcia scheme (set via 'cardctl scheme XXX'). +# 'hwaddr' is the unique MAC address identifier of the wireless card. +# The MAC address is usually printed on the card, or can be found via ifconfig. +# Some examples here use only half of the MAC address with a wildcard to +# match a whole family of cards... +# +# All the Wireless specific configuration is done through the Wireless +# Extensions, so we will just call 'iwconfig' with the right parameters +# defined below. +# Of course, you need to have iwconfig installled on your system. +# To download iwconfig, or for more info on Wireless Extensions : +# http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html +# +# Note : you don't need to fill all parameters, leave them blank, in most +# cases the driver will initialise itself with sane defaults values or +# automatically figure out the value... And no drivers do support all +# possible settings... +# +# If you make any mistakes, you'll get a cryptic message in the system +# log. You'll need to figure out on your own which parameter was wrong: +# cardmgr[310]: executing: './network start wvlan0' +# cardmgr[310]: + SIOCSIWMODE: Invalid argument +# I've tried to give more troubleshooting help at : +# http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html#debug +# In case of doubts, just check "/etc/pcmcia/wireless" for the gory details... +# +# Note also that this script will work only with the original Pcmcia scripts, +# and not with the default Red Hat scripts. Send a bug report to Red Hat ;-) +# +# Finally, send comments and flames to me, Jean Tourrilhes +# + +case "$ADDRESS" in +*,*,*,*) + INFO="Default Config" + ESSID=any + MODE=Managed + RATE=auto + ;; +esac -- cgit v1.2.3