#!/bin/sh #RCUPDATE:boot:25:This line is required for script management #This will enumerate the ISA PnP Boards in the system, and configure them if #it finds the file $CONFFILE source /etc/rc.d/config/functions CONFFILE=/etc/isapnp.conf start() { if [ -e $CONFFILE ] ; then if [ -e /usr/sbin/isapnp ] ; then ebegin "Configuring ISA PnP devices" /usr/sbin/isapnp $CONFFILE 1>&2 eend $? "Error configuring ISA PnP" else eerror "You're missing /usr/sbin/isapnp. Do emerge sys-apps/isapnptools" return 1 fi else eerror "You need an /etc/isapnp.conf file first" eerror "Theres a sample in docs/isapnptools/txt" return 1 fi }