]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
turn off by default RUN_USERPNP and RUN_KERNELPNP
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 18:23:49 +0000 (18:23 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Thu, 30 May 2013 18:23:49 +0000 (18:23 +0000)
svn-id: @12668

rc.d/rc.sysinit
sysconfig/system

index d50a57005719c2d35ca799558e984bbc7968c3d9..0afa083f775b6bde075d6743002772798308f639 100755 (executable)
@@ -434,11 +434,11 @@ if ! is_yes "$VSERVER"; then
        fi
 
        # set up pnp and kernel pnp
-       if [ -z "$nopnp" ]; then
-               if ! is_no "$RUN_USERPNP" && [ -x /sbin/isapnp -a -f /etc/isapnp/isapnp.conf ]; then
+       if is_yes "$RUN_USERPNP" || is_yes "$RUN_KERNELPNP"; then
+               if [ -z "$nopnp" ] && is_yes "$RUN_USERPNP" && [ -x /sbin/isapnp -a -f /etc/isapnp/isapnp.conf ]; then
                        run_cmd "Setting up ISA PNP devices (userspace pnp)" /sbin/isapnp /etc/isapnp/isapnp.conf
                fi
-               if ! is_no "$RUN_KERNELPNP"; then
+               if [ -z "$nopnp" ] && is_yes "$RUN_KERNELPNP"; then
                        modprobe -s isa-pnp
                        if [ -e /proc/isapnp -a -f /etc/isapnp/isapnp-kernel.conf ]; then
                                show "Setting up ISA PNP devices (kernelspace pnp)"; busy
index e152afa2230fce71ace78945856998fa02894706..6e34bc027498b75d8c3191d7b4d8355a79f29f01 100644 (file)
@@ -39,9 +39,9 @@ DEFAULT_SERVICE_LIMITS="-u unlimited -c 0"
 DEFAULT_SERVICE_UMASK=022
 
 # Setup PNP using userspace tools?
-RUN_USERPNP=yes
+RUN_USERPNP=no
 # Setup kernel space PNP (2.4.x)
-RUN_KERNELPNP=yes
+RUN_KERNELPNP=no
 
 # After how many seconds reboot system after kernel panic ?
 # 0 - never reboot system (suggested 60)
This page took 0.072339 seconds and 4 git commands to generate.