ppcrcd/trunk/initrd.dir/linuxrc
sparky
cvs at pld-linux.org
Thu Mar 16 19:01:48 CET 2006
Author: sparky
Date: Thu Mar 16 19:01:44 2006
New Revision: 7199
Modified:
ppcrcd/trunk/initrd.dir/linuxrc
Log:
- typo (s/done/fi/) and few minor changes
Modified: ppcrcd/trunk/initrd.dir/linuxrc
==============================================================================
--- ppcrcd/trunk/initrd.dir/linuxrc (original)
+++ ppcrcd/trunk/initrd.dir/linuxrc Thu Mar 16 19:01:44 2006
@@ -182,19 +182,20 @@
CONFIG=""
for CFILE in /media/ppcrcd/ppcrcd.xml{,.gz}; do
- if /bin/test -r $CFILE; then
- /bin/echo "${cG}*** Found configuration file${cE}"
+ if $B/test -r $CFILE; then
+ $B/echo "${cG}*** Found configuration file${cE}"
CONFIG="$CFILE"
+ break
fi
done
-if /bin/test -n "$CONFIG"; then
- /bin/echo "${cG}*** Extracting configuration${cE}"
- { /bin/gunzip -c $CFILE || /bin/cat $CFILE; } | \
+if $B/test -n "$CONFIG"; then
+ $B/echo "${cG}*** Extracting configuration${cE}"
+ { /bin/gunzip -c $CFILE || $B/cat $CFILE; } | \
/usr/lib/ppcrcd/xmluntar.pl
- /bin/test -r etc/fstab.add && \
- { /bin/echo "#Saved:"; /bin/cat etc/fstab.add; } >> etc/fstab
- /bin/rm -f etc/fstab.add
-done
+ $B/test -r etc/fstab.add && \
+ { $B/echo "#Saved:"; $B/cat etc/fstab.add; } >> etc/fstab
+ $B/rm -f etc/fstab.add
+fi
if $B/test -n "$TOMEM"; then
/bin/umount /media/ppcrcd
More information about the pld-cvs-commit
mailing list