From d02fe7b668760d70196370128ab82da8467aa276 Mon Sep 17 00:00:00 2001 From: Erik Troan Date: Fri, 31 Oct 1997 21:27:32 +0000 Subject: added isapnp support --- rc.d/rc.sysinit | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 23ac3a98..38eb858c 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -63,6 +63,26 @@ if [ -x /sbin/quotaon ]; then /sbin/quotaon / fi +# check for arguments + +mount -t proc /proc /proc +if grep -i nopnp /proc/cmdline >/dev/null ; then + PNP= +else + PNP=yes +fi +umount /proc + +# set up pnp +if [ -x /sbin/isapnp -a -f /etc/isapnp.conf ]; then + if [ -n "$PNP" ]; then + echo "Setting up ISA PNP devices" + /sbin/isapnp /etc/isapnp.conf + else + echo "Skipping ISA PNP configuration at users request" + fi +fi + # Remount the root filesystem read-write. echo "Remounting root filesystem in read-write mode." mount -n -o remount,rw / -- cgit v1.2.1