aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Reyes (likewhoa) <design@missionaccomplish.com>2014-05-30 03:03:37 +0200
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2015-04-29 13:31:45 -0400
commit6e5daaadb38e1bae6a30c57f9997ff01528dc6aa (patch)
tree9ffd8924915ab468416c7e3fd6f8229960394653
parentEnhanced the shutdown process and changed from using ${UNION} to ${CHROOT} to (diff)
downloadgenkernel-6e5daaadb38e1bae6a30c57f9997ff01528dc6aa.tar.gz
genkernel-6e5daaadb38e1bae6a30c57f9997ff01528dc6aa.tar.bz2
genkernel-6e5daaadb38e1bae6a30c57f9997ff01528dc6aa.zip
Cleanup dd output from changes file creation
-rw-r--r--defaults/initrd.scripts2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index 2fe540ba..a9ec5abb 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -280,7 +280,7 @@ create_changefs() {
then
bad_msg "Please give a size of at least 16 Mb"
else
- dd if=/dev/zero of=${CHANGESMNT}/${AUFS_CHANGESFILE} bs=1M count=${size}
+ dd if=/dev/zero of=${CHANGESMNT}/${AUFS_CHANGESFILE} bs=1M count=${size} &>/dev/null
if [ $? = '0' ]
then
good_msg "Creation of ${AUFS_CHANGESFILE}, ${size} Mb on ${CHANGESDEV} successful, formatting it ext2"