source: udev/udev.count_events @ 4d1a13a

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 4d1a13a was 7e161ea, checked in by Jim Gifford <clfs@…>, 18 years ago

r833@server (orig r831): jim | 2005-12-05 10:42:24 -0800
Added: udev package for Cross-LFS. Work in Progress

  • Property mode set to 100755
File size: 528 bytes
Line 
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
18loop=100
19while test -d /dev/.udev/queue; do
20    sleep 0.1;
21    test "$loop" -gt 0 || exit 1
22    loop=$(($loop - 1))
23done
24exit 0
Note: See TracBrowser for help on using the repository browser.