# rc - runlevel compatibility # # This task guesses what the "default runlevel" should be and starts the # appropriate script. start on started udev stop on stopping udev pre-start script source /etc/init.d/functions if [ -f /etc/sysconfig/loadmods ]; then sed -e "/^#/d" /etc/sysconfig/loadmods | sed -e "/^ *$/d" >/tmp/loadmods exec 3/dev/null; then print_status success else if [ "$Z" == "8" ]; then print_status failure else echo "failed" fi fi done (( Z = $Z + 1 )) exec 3>&- done fi end script