clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since a4feff9 was 7e161ea, checked in by Jim Gifford <clfs@…>, 19 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:
851 bytes
|
Rev | Line | |
---|
[7e161ea] | 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 |
|
---|
| 23 | case "$1" in
|
---|
| 24 |
|
---|
| 25 | start)
|
---|
| 26 | if test -d /dev/.udev/failed; then
|
---|
| 27 | boot_mesg "Retry device configuration"
|
---|
| 28 | list=$(echo /dev/.udev/failed/*)
|
---|
| 29 | for i in $list; do
|
---|
| 30 | device="$(readlink $i)/uevent"
|
---|
| 31 | test -e $device && echo "add" > $device
|
---|
| 32 | done
|
---|
| 33 | fi
|
---|
| 34 | evaluate_retval
|
---|
| 35 | ;;
|
---|
| 36 | *)
|
---|
| 37 | echo "Usage: $0 {start}"
|
---|
| 38 | exit 1
|
---|
| 39 | ;;
|
---|
| 40 | esac
|
---|
Note:
See
TracBrowser
for help on using the repository browser.