From eebbffc56a2ba1382ac7a2fe2e94a03fbc3689b7 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Wed, 17 Oct 2012 17:08:28 +0000 Subject: [PATCH] Don't show error messages for internal find commands used in rc startup script --- filesystem/rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filesystem/rc b/filesystem/rc index 8fd3474..e1a8bea 100755 --- a/filesystem/rc +++ b/filesystem/rc @@ -79,14 +79,14 @@ find_and_mount_media() { echo else # configure modules - MODULES="`find /media/crux/kernel -type f -name 'modules-*.tar.*'`" + MODULES="`find /media/crux/kernel -type f -name 'modules-*.tar.*' 2>/dev/null`" if [ ! -z "$MODULES" ]; then tar -C /tmp -xf $MODULES cd /lib && ln -s /tmp/lib/* . depmod fi # configure pkgutils - PKGUTILS="`find /media/crux/core -type f -name 'pkgutils#*.pkg.tar.*'`" + PKGUTILS="`find /media/crux/core -type f -name 'pkgutils#*.pkg.tar.*' 2>/dev/null`" if [ ! -z "$PKGUTILS" ]; then tar -C /tmp -xf $PKGUTILS cd /usr/bin && ln -s /tmp/usr/bin/* . -- 2.26.2