mirror of https://github.com/hak5/openwrt.git
fix typo in firstboot - /etc/config/* is now a file instead of a symlink
SVN-Revision: 3633lede-17.01
parent
8f766cb0aa
commit
02696c0757
|
@ -19,10 +19,10 @@ dupe() { # <new_root> <old_root>
|
|||
echo -n "setting up symlinks... "
|
||||
for file in $(cd $2; find . -xdev -type f;); do
|
||||
case "$file" in
|
||||
"./rom/note") ;; #nothing
|
||||
"./etc/config"|\
|
||||
"./etc/resolv.conf"|\
|
||||
"./usr/lib/ipkg/info") cp -af $2/$file $file;;
|
||||
./rom/note) ;; #nothing
|
||||
./etc/config*|\
|
||||
./etc/resolv.conf|\
|
||||
./usr/lib/ipkg/info) cp -af $2/$file $file;;
|
||||
*) ln -sf /rom/${file#./*} $file;;
|
||||
esac
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue