On Wednesday 06 June 2001 16:21, you wrote:
> sh -x /etc/init.d/usb start does

[root@Archimedes guran]# sh -x /etc/init.d/usb start
+ '[' -f /etc/modules.conf ']'
+ conf_file=/etc/modules.conf
+ '[' -f /etc/sysconfig/usb ']'
+ source /etc/sysconfig/usb
++ USB=yes
++ KEYBOARD_AT_BOOT=no
++ MOUSE=no
++ KEYBOARD=no
++ STORAGE=no
++ VISOR=no
++ PRINTER=no
+ grep -iq nousb /proc/cmdline
+ . /etc/rc.d/init.d/functions
++ TEXTDOMAIN=initscripts
++ TEXTDOMAINDIR=/etc/locale
++ export TEXTDOMAINDIR
++ umask 022
++ export PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' -a -f /etc/sysconfig/i18n -a -z '' ']'
++ . /etc/sysconfig/i18n
+++ SYSFONT=lat0-sun16
+++ LC_CTYPE=en_GB
+++ LC_MONETARY=en_GB
+++ LANGUAGE=en_GB:en
+++ LC_TIME=en_GB
+++ LC_NUMERIC=en_GB
+++ LC_COLLATE=en_GB
+++ LC_MESSAGES=en_GB
+++ LANG=en
+++ SYSFONTACM=iso15
++ '[' -n en_GB:en ']'
++ GP_LANG=en_GB:en
++ '[' -n '' ']'
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL=echo -en \033[60G
+++ SETCOLOR_SUCCESS=echo -en \033[1;32m
+++ SETCOLOR_FAILURE=echo -en \033[1;31m
+++ SETCOLOR_WARNING=echo -en \033[1;33m
+++ SETCOLOR_NORMAL=echo -en \033[0;39m
+++ LOGLEVEL=1
+++ PROMPT=yes
++ '[' -x /sbin/consoletype ']'
+++ consoletype
++ '[' pty = serial ']'
++ '[' color '!=' verbose ']'
++ INITLOG_ARGS=-q
+ '[' yes = no ']'
++ uname -m
+ ARCH=i686
+ grep -q '^alias usbmouse' /etc/modules.conf
++ cut -f1 /proc/sys/kernel/printk
+ PKLVL=6
+ get_usb_interface
+ grep -q '^alias usb-interface' /etc/modules.conf
+ echo -n 'Detecting USB interface    '
Detecting USB interface    + probe_usb_interface
+ local t pci_f uhci_t ohci_t
+ local i=0
+ pci_f=/proc/bus/pci/devices
+ uhci_t=11063038 80862422 80867020 80867112 80867602 80862412
+ ohci_t=0e117020 0e11a0f8 10227404 1022740c 10330035 10397001 1045a0f8 
1045c861 10950670 10950673 10b95237
+ '[' -x /usr/bin/lspcidrake ']'
+ lspcidrake
+ sed -n 's/\([^ \t]*\).*Chipset USB.*/\1/p'
+ read line
+ return 0
+ grep -q '.*11063038.*' /proc/bus/pci/devices
+ grep -q '.*80862422.*' /proc/bus/pci/devices
+ grep -q '.*80867020.*' /proc/bus/pci/devices
+ grep -q '.*80867112.*' /proc/bus/pci/devices
+ grep -q '.*80867602.*' /proc/bus/pci/devices
+ grep -q '.*80862412.*' /proc/bus/pci/devices
+ grep -q '.*0e117020.*' /proc/bus/pci/devices
+ grep -q '.*0e11a0f8.*' /proc/bus/pci/devices
+ grep -q '.*10227404.*' /proc/bus/pci/devices
+ grep -q '.*1022740c.*' /proc/bus/pci/devices
+ grep -q '.*10330035.*' /proc/bus/pci/devices
+ grep -q '.*10397001.*' /proc/bus/pci/devices
+ grep -q '.*1045a0f8.*' /proc/bus/pci/devices
+ grep -q '.*1045c861.*' /proc/bus/pci/devices
+ grep -q '.*10950670.*' /proc/bus/pci/devices
+ grep -q '.*10950673.*' /proc/bus/pci/devices
+ grep -q '.*10b95237.*' /proc/bus/pci/devices
+ return 1
+ echo_success
+ '[' color = color ']'
+ echo -en '\033[60G'
                                                           + echo -n '[  '
[  + '[' color = color ']'
+ echo -en '\033[1;32m'
+ '[' -n '' ']'
+ gprintf OK                                                                  
  + '[' -x /bin/gettext -a -n OK ']'                                          
    ++ LANGUAGE=en_GB:en                                                      
      ++ gettext -e --domain=initscripts OK                                   
        + local TEXT=OK                                                       
          + '[' OK ']'                                                        
            + '[' -n '' ']'                                                   
              + shift                                                         
                + '[' -n '' ']'                                               
                  + printf OK                                                 
                    OK+ '[' color = color ']'                                 
                      + echo -en '\033[0;39m'                                 
                        + echo -n '  ]'                                       
                            ]+ echo -ne '\r'
+ return 0
+ echo

+ /etc/init.d/usb start
Detecting USB interface                                    [  OK  ]
&c

regards
guran

Reply via email to