home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20101108.etc.tar.gz / bradford.20101108.etc.tar / etc / init.d / earlykbd < prev    next >
Text File  |  2006-04-25  |  738b  |  38 lines

  1. #! /bin/sh
  2. # Copyright (c) 1995-2005 SUSE LINUX Products AG, Nuernberg, Germany.
  3. #
  4. # Author:   Werner Fink <werner@suse.de>
  5. #
  6. # Please send feedback to http://www.suse.de/feedback
  7. #
  8. # /etc/init.d/earlykbd
  9. #
  10. ### BEGIN INIT INFO
  11. # Provides:       earlykbd
  12. # Required-Start:
  13. # Required-Stop:
  14. # X-SuSE-Should-Start:    fbset setserial
  15. # X-SuSE-Should-Stop: 
  16. # Default-Start:  5
  17. # Default-Stop:
  18. # Description:    Keyboard settings (don't disable!)
  19. ### END INIT INFO
  20.  
  21. . /etc/rc.status
  22.  
  23. function check ()
  24. {
  25.   # kbd can initialize if at least one of 
  26.   # defkeymap or /usr/share is available.
  27.  
  28.   test -s /etc/defkeymap.map && return 0
  29.   test -d /usr/share/        && return 0
  30.   return 1;
  31. }
  32.  
  33. rc_reset
  34. check || exit 0
  35.  
  36. exec /etc/init.d/kbd ${1+"$@"}
  37.  
  38.