mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.7 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/pcmcia-cs/rc.pcmcia.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- ./etc/install-etc.orig 2003-01-18 08:38:22.000000000 +0100
  20. +++ ./etc/install-etc 2003-01-18 12:00:46.000000000 +0100
  21. @@ -50,6 +50,14 @@
  22. install_sysv ()
  23. {
  24. + cp rc.pcmcia /etc/rc.d/init.d/pcmcia
  25. + chmod +x /etc/rc.d/init.d/pcmcia
  26. + echo "The script 'pcmcia' has the priority 04." \
  27. + > /etc/rc.d/rcX.d/X04pcmcia
  28. +}
  29. +
  30. +install_sysv_orig ()
  31. +{
  32. SYSV=$PREFIX$RC_DIR/init.d/pcmcia
  33. if [ -d /etc/sysconfig ] ; then
  34. --- ./etc/rc.pcmcia.orig 2002-08-08 08:43:43.000000000 +0200
  35. +++ ./etc/rc.pcmcia 2003-01-18 08:38:22.000000000 +0100
  36. @@ -1,4 +1,7 @@
  37. #!/bin/sh
  38. +#
  39. +# Desc: loading the PCMCIA drivers
  40. +#
  41. # rc.pcmcia 1.45 2002/08/08 06:43:43 (David Hinds)
  42. #
  43. @@ -41,7 +44,7 @@
  44. # Put pcmcia_core options here
  45. CORE_OPTS=
  46. # Put cardmgr options here
  47. - CARDMGR_OPTS=
  48. + CARDMGR_OPTS=-f
  49. # To set the PCMCIA scheme at startup...
  50. SCHEME=
  51. fi