diff options
author | Dave Reisner <d@falconindy.com> | 2011-06-02 10:30:21 -0400 |
---|---|---|
committer | Dave Reisner <d@falconindy.com> | 2011-06-04 14:54:57 -0400 |
commit | d847a204aa5ab21a6c02998846ec3216cc7f887d (patch) | |
tree | 2d628838c37f5caec31bb1d26a836bfd06c5233d /rc.sysinit | |
parent | 023d6584d487d1c72788429584d4f2480075c963 (diff) | |
download | initscripts-d847a204aa5ab21a6c02998846ec3216cc7f887d.tar.xz |
use $() instead of `` for command substitutions
Signed-off-by: Dave Reisner <d@falconindy.com>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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;; |