From: Harald Hoyer Date: Thu, 8 Oct 2009 16:19:11 +0000 (+0200) Subject: ccw: s/layer1/layer2/g X-Git-Tag: 003~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2331d1ff151ab0b579a908c9ee4b8f944d4537f2;p=thirdparty%2Fdracut.git ccw: s/layer1/layer2/g --- diff --git a/modules.d/95ccw/ccw_init b/modules.d/95ccw/ccw_init index 839b7dabe..83fba8fac 100755 --- a/modules.d/95ccw/ccw_init +++ b/modules.d/95ccw/ccw_init @@ -42,7 +42,7 @@ CHANNEL1="$1" shift while [ $# -gt 0 ]; do case $1 in - layer1=*) LAYER1=${1##layer1=};; + layer2=*) LAYER2=${1##layer2=};; *=*) OPTIONS="$OPTIONS $1";; [0-9]*) SUBCHANNELS="$SUBCHANNELS,$1";; esac @@ -78,8 +78,8 @@ if [ -e $SYSDIR/online ]; then [ "$on" = "1" ] && exit 0 fi -# first set layer1, other options may depend on it -[ -n "$LAYER1" ] && echo $LAYER1 > $SYSDIR/layer1 +# first set layer2, other options may depend on it +[ -n "$LAYER2" ] && echo $LAYER2 > $SYSDIR/layer2 if [ -n "$OPTIONS" ]; then for i in $OPTIONS; do