From 02696c07579c6cb9230691ac3ab47d5022924f40 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Thu, 13 Apr 2006 14:43:47 +0000
Subject: [PATCH] fix typo in firstboot - /etc/config/* is now a file instead
 of a symlink

SVN-Revision: 3633
---
 openwrt/package/base-files/default/bin/firstboot | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/openwrt/package/base-files/default/bin/firstboot b/openwrt/package/base-files/default/bin/firstboot
index 5d3d9677ee..28189780bd 100755
--- a/openwrt/package/base-files/default/bin/firstboot
+++ b/openwrt/package/base-files/default/bin/firstboot
@@ -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
-- 
GitLab