source: udev/udev_retry @ f5249d1

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

r889@server (orig r887): jim | 2005-12-12 22:30:52 -0800

r1050@server: jim | 2005-12-12 22:30:35 -0800
Renamed bootscripts added proper install for bootscripts


  • Property mode set to 100755
File size: 853 bytes
Line 
1#!/bin/sh
2########################################################################
3# Begin $rc_base/init.d/udev_retry
4#
5# Description : Udev Retry Boot Script
6#
7# Authors     : Based on Open Suse Udev Rules
8#               kay.sievers@suse.de
9#
10# Adapted to  : Jim Gifford
11# LFS
12#
13# Version     : 00.00
14#
15# Notes       : Retry Udev events that have failed after local file
16#               systems are mounted
17#
18########################################################################
19
20. /etc/sysconfig/rc
21. ${rc_functions}
22
23case "$1" in
24    start)
25        if test -d /dev/.udev/failed; then
26            boot_mesg "Retry device configuration..."
27            list=$(echo /dev/.udev/failed/*)
28            for i in $list; do
29                device="$(readlink $i)/uevent"
30                test -e $device && echo "add" > $device
31            done
32        fi
33        evaluate_retval
34        ;;
35    *)
36        echo "Usage: $0 {start}"
37        exit 1
38        ;;
39esac
Note: See TracBrowser for help on using the repository browser.