CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
initrd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
4053c84
)
Don't show error messages for internal find commands used in rc startup script
2.7
author
Jose V Beneyto
<sepen@crux.nu>
Wed, 17 Oct 2012 17:08:28 +0000
(17:08 +0000)
committer
Jose V Beneyto
<sepen@crux.nu>
Wed, 17 Oct 2012 17:08:28 +0000
(17:08 +0000)
filesystem/rc
patch
|
blob
|
blame
|
history
diff --git
a/filesystem/rc
b/filesystem/rc
index 8fd3474ac63b408b25d090a60aa1497a6e9ffed1..e1a8bea25672caf96f1df3729e16fc47d6b4ee1b 100755
(executable)
--- a/
filesystem/rc
+++ b/
filesystem/rc
@@
-79,14
+79,14
@@
find_and_mount_media() {
echo
else
# configure modules
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
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/* .
if [ ! -z "$PKGUTILS" ]; then
tar -C /tmp -xf $PKGUTILS
cd /usr/bin && ln -s /tmp/usr/bin/* .