File boot.udev_retry of Package udev.import4648

#!/bin/sh
#
### BEGIN INIT INFO
# Provides:          boot.udev_retry
# Required-Start:    boot.rootfsck
# Required-Stop:     $null
# Should-Start:      $local_fs
# Should-Stop:       $null
# Default-Start:     B
# Default-Stop:
# Short-Description: retry to configure failed devices
# Description:       retry to configure failed devices after mount of localfs
### END INIT INFO

. /etc/rc.status

case "$1" in
	start)
		echo -n "Finish udev device configuration: "
		/sbin/udevadm trigger --type=failed
		rc_status $status -r -v
		;;
	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
openSUSE Build Service is sponsored by