home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
chilidog.highland.cc.ks.us
/
chilidog.highland.cc.ks.us.zip
/
chilidog.highland.cc.ks.us
/
backup
/
bradford.20110725.etc.tar.gz
/
bradford.20110725.etc.tar
/
etc
/
init.d
/
boot.udev_retry
< prev
next >
Wrap
Text File
|
2006-11-25
|
788b
|
46 lines
#!/bin/sh
#
### BEGIN INIT INFO
# Provides: boot.udev_retry
# Required-Start: boot.localfs
# Default-Start: B
# Default-Stop:
# Description: Retry to configure failed devices after localfs.
### END INIT INFO
. /etc/rc.status
case "$1" in
start)
if test -d /dev/.udev/failed; then
echo -n "Retry device configuration"
list=$(echo /dev/.udev/failed/*)
for i in $list; do
device="$(readlink $i)/uevent"
test -e $device && echo "add" > $device
done
rc_status $status -r -v
fi
;;
stop)
rc_status -v
;;
restart)
rc_status -v
;;
status)
rc_status -v
;;
reload)
rc_status -v
;;
force-reload)
rc_status -v
;;
*)
echo "Usage: $0 {start|stop|restart|status|reload|force-reload}"
exit 1
;;
esac
rc_exit