mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 13:50:38 +02:00
fix typo in firstboot - /etc/config/* is now a file instead of a symlink
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3633 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
3304585f41
commit
3a20851eca
@ -19,10 +19,10 @@ dupe() { # <new_root> <old_root>
|
|||||||
echo -n "setting up symlinks... "
|
echo -n "setting up symlinks... "
|
||||||
for file in $(cd $2; find . -xdev -type f;); do
|
for file in $(cd $2; find . -xdev -type f;); do
|
||||||
case "$file" in
|
case "$file" in
|
||||||
"./rom/note") ;; #nothing
|
./rom/note) ;; #nothing
|
||||||
"./etc/config"|\
|
./etc/config*|\
|
||||||
"./etc/resolv.conf"|\
|
./etc/resolv.conf|\
|
||||||
"./usr/lib/ipkg/info") cp -af $2/$file $file;;
|
./usr/lib/ipkg/info) cp -af $2/$file $file;;
|
||||||
*) ln -sf /rom/${file#./*} $file;;
|
*) ln -sf /rom/${file#./*} $file;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user