clfs-1.2
        clfs-2.1
        clfs-3.0.0-systemd
        clfs-3.0.0-sysvinit
        systemd
        sysvinit
      
      
        
          | Last change
 on this file since 5b77eee was             7e161ea, checked in by Jim Gifford <clfs@…>, 20 years ago | 
        
          | 
r833@server (orig r831):  jim | 2005-12-05 10:42:24 -0800Added: udev package for Cross-LFS. Work in Progress
 
 | 
        
          | 
              
Property                 mode
 set to                 100755 | 
        
          | File size:
            528 bytes | 
      
      
| Rev | Line |  | 
|---|
| [7e161ea] | 1 | #!/bin/sh | 
|---|
|  | 2 | ######################################################################## | 
|---|
|  | 3 | # | 
|---|
|  | 4 | # Description : udev.count_events | 
|---|
|  | 5 | # | 
|---|
|  | 6 | # Authors     : Based on Open Suse Udev Rules | 
|---|
|  | 7 | #               kay.sievers@suse.de | 
|---|
|  | 8 | # | 
|---|
|  | 9 | # Adapted to  : Jim Gifford | 
|---|
|  | 10 | # LFS | 
|---|
|  | 11 | # | 
|---|
|  | 12 | # Version     : 00.00 | 
|---|
|  | 13 | # | 
|---|
|  | 14 | # Notes       : Wait for all current udev events to finish | 
|---|
|  | 15 | # | 
|---|
|  | 16 | ######################################################################## | 
|---|
|  | 17 |  | 
|---|
|  | 18 | loop=100 | 
|---|
|  | 19 | while test -d /dev/.udev/queue; do | 
|---|
|  | 20 | sleep 0.1; | 
|---|
|  | 21 | test "$loop" -gt 0 || exit 1 | 
|---|
|  | 22 | loop=$(($loop - 1)) | 
|---|
|  | 23 | done | 
|---|
|  | 24 | exit 0 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.