aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>1997-10-31 21:27:32 +0000
committerErik Troan <ewt@redhat.com>1997-10-31 21:27:32 +0000
commitd02fe7b668760d70196370128ab82da8467aa276 (patch)
tree086a7e2bd493ca4867b6aa8a62f9a662b804280a /rc.d
parentd9509d4a36980605ea1444b823af2a71a350a683 (diff)
downloadinitscripts-d02fe7b668760d70196370128ab82da8467aa276.tar
initscripts-d02fe7b668760d70196370128ab82da8467aa276.tar.gz
initscripts-d02fe7b668760d70196370128ab82da8467aa276.tar.bz2
initscripts-d02fe7b668760d70196370128ab82da8467aa276.tar.xz
initscripts-d02fe7b668760d70196370128ab82da8467aa276.zip
added isapnp supportr3-23
Diffstat (limited to 'rc.d')
-rwxr-xr-xrc.d/rc.sysinit20
1 files changed, 20 insertions, 0 deletions
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 /