[kernel] r16515 - people/waldi/s390/sysconfig/etc/sysconfig/scripts/hardware

Bastian Blank waldi at alioth.debian.org
Sat Oct 30 15:09:33 UTC 2010


Author: waldi
Date: Sat Oct 30 15:09:24 2010
New Revision: 16515

Log:
etc/sysconfig/scripts/hardware/functions: Revert config read change.

Modified:
   people/waldi/s390/sysconfig/etc/sysconfig/scripts/hardware/functions

Modified: people/waldi/s390/sysconfig/etc/sysconfig/scripts/hardware/functions
==============================================================================
--- people/waldi/s390/sysconfig/etc/sysconfig/scripts/hardware/functions	Sat Oct 30 14:47:44 2010	(r16514)
+++ people/waldi/s390/sysconfig/etc/sysconfig/scripts/hardware/functions	Sat Oct 30 15:09:24 2010	(r16515)
@@ -42,7 +42,7 @@
 }
 
 check_config () {
-  if ! [ -e "$1" ]; then
+  if ! [ -e "$SYSCONFIG/hardware/config-$1-$2" ]; then
     if [ "$MODE" != auto ]; then
       warning "Can't find config-$1-$2!"
     fi
@@ -56,7 +56,7 @@
 
 read_config () {
   local READ_CONFIG="$SYSCONFIG/hardware/config-$1-$2"
-  check_config "$READ_CONFIG"
+  check_config "$@"
   if [ "$CONFIG" != $READ_CONFIG ]; then
     CONFIG=$READ_CONFIG
     source $CONFIG



More information about the Kernel-svn-changes mailing list