speed up firstboot a bit
SVN-Revision: 2220
This commit is contained in:
parent
f5f2622ce3
commit
196076cf2f
1 changed files with 4 additions and 5 deletions
|
@ -42,11 +42,10 @@ echo "done"
|
||||||
echo -n "setting up symlinks... "
|
echo -n "setting up symlinks... "
|
||||||
for file in $(cd /rom; find * -type f; find * -type l;)
|
for file in $(cd /rom; find * -type f; find * -type l;)
|
||||||
do {
|
do {
|
||||||
[ "${file%/*}" = "usr/lib/ipkg/info" -o "${file%/*}" = "etc/config" ] && {
|
case "${file%/*}" in
|
||||||
cp -f /rom/$file $file
|
"usr/lib/ipkg/info"|"etc/config") cp -f /rom/$file $file;;
|
||||||
} || {
|
*) ln -sf /rom/$file $file;;
|
||||||
ln -sf /rom/$file $file
|
esac
|
||||||
}
|
|
||||||
} done
|
} done
|
||||||
echo "done"
|
echo "done"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue