Skip to content
Snippets Groups Projects
Commit 196076cf authored by Felix Fietkau's avatar Felix Fietkau
Browse files

speed up firstboot a bit

SVN-Revision: 2220
parent f5f2622c
No related branches found
No related tags found
No related merge requests found
...@@ -42,11 +42,10 @@ echo "done" ...@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment