SVN: rc-scripts/trunk/rc.d/rc.sysinit
glen
glen at pld-linux.org
Fri Nov 23 17:44:43 CET 2012
Author: glen
Date: Fri Nov 23 17:44:43 2012
New Revision: 12601
Modified:
rc-scripts/trunk/rc.d/rc.sysinit
Log:
remove not needed subshell
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit Fri Nov 23 17:44:43 2012
@@ -666,9 +666,9 @@
golvm=0
rc=0
if [ -x /sbin/mdadm -a -f /etc/mdadm.conf ]; then
- if (grep -qE "^([[:blank:]]|)ARRAY[[:blank:]]" /etc/mdadm.conf 2>/dev/null); then
+ if grep -qE "^([[:blank:]]|)ARRAY[[:blank:]]" /etc/mdadm.conf 2>/dev/null; then
show "Starting up RAID devices"; busy
- /sbin/mdadm --assemble --scan --auto=yes
+ /sbin/mdadm --assemble --scan --auto=yes
rc=$?
if [ "$rc" -eq 0 -o "$rc" -eq 2 ]; then
# rc is used later, too so set sane value
More information about the pld-cvs-commit
mailing list