From d847a204aa5ab21a6c02998846ec3216cc7f887d Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Thu, 2 Jun 2011 10:30:21 -0400 Subject: use $() instead of `` for command substitutions Signed-off-by: Dave Reisner --- rc.sysinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index f672ecc..febe2da 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -187,7 +187,7 @@ if [[ -f /etc/crypttab && -n $CS ]] && /bin/grep -q ^[^#] /etc/crypttab; then /bin/dd if=${ckdev} of=${ckfile} bs=1 skip=${cka} count=${ckb} >/dev/null 2>&1;; esac $CS -d ${ckfile} $4 $open "$a" "$b" >/dev/null - /bin/dd if=/dev/urandom of=${ckfile} bs=1 count=`stat -c %s ${ckfile}` conv=notrunc >/dev/null 2>&1 + /bin/dd if=/dev/urandom of=${ckfile} bs=1 count=$(stat -c %s ${ckfile}) conv=notrunc >/dev/null 2>&1 rm ${ckfile};; /*) $CS -d "$3" $4 $open "$a" "$b" >/dev/null;; -- cgit v1.2.3