diff options
-rw-r--r-- | package/base-files/Makefile | 17 | ||||
-rwxr-xr-x | target/linux/adm5120/base-files/etc/diag.sh (renamed from target/linux/adm5120/base-files/default/etc/diag.sh) | 0 | ||||
-rwxr-xr-x | target/linux/adm5120/base-files/lib/adm5120.sh (renamed from target/linux/adm5120/base-files/default/lib/adm5120.sh) | 0 | ||||
-rwxr-xr-x | target/linux/adm5120/router_le/base-files/sbin/wget2nand (renamed from target/linux/adm5120/router_le/base-files/default/sbin/wget2nand) | 0 | ||||
-rw-r--r-- | target/linux/amazon/base-files/etc/config/network (renamed from target/linux/amazon/base-files/default/etc/config/network) | 0 | ||||
-rw-r--r-- | target/linux/amcc/base-files/etc/inittab (renamed from target/linux/amcc/base-files/default/etc/inittab) | 0 | ||||
-rw-r--r-- | target/linux/ar7/base-files/etc/config/network (renamed from target/linux/ar7/base-files/default/etc/config/network) | 0 | ||||
-rw-r--r-- | target/linux/ar7/base-files/etc/diag.sh (renamed from target/linux/ar7/base-files/default/etc/diag.sh) | 0 | ||||
-rwxr-xr-x | target/linux/ar7/base-files/etc/init.d/adam2 (renamed from target/linux/ar7/base-files/default/etc/init.d/adam2) | 0 | ||||
-rw-r--r-- | target/linux/at91/base-files/etc/inittab (renamed from target/linux/at91/base-files/default/etc/inittab) | 0 | ||||
-rw-r--r-- | target/linux/at91/base-files/etc/ipkg.conf (renamed from target/linux/at91/base-files/default/etc/ipkg.conf) | 0 | ||||
-rwxr-xr-x | target/linux/atheros/base-files/etc/preinit.arch (renamed from target/linux/atheros/base-files/default/etc/preinit.arch) | 0 | ||||
-rw-r--r-- | target/linux/au1000/base-files/etc/diag.sh (renamed from target/linux/au1000/base-files/default/etc/diag.sh) | 0 | ||||
-rw-r--r-- | target/linux/brcm-2.4/base-files/etc/diag.sh (renamed from target/linux/brcm-2.4/base-files/default/etc/diag.sh) | 0 | ||||
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig (renamed from target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig) | 0 | ||||
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/preinit.arch (renamed from target/linux/brcm-2.4/base-files/default/etc/preinit.arch) | 0 | ||||
-rw-r--r-- | target/linux/brcm-2.4/base-files/lib/upgrade/platform.sh (renamed from target/linux/brcm-2.4/base-files/default/lib/upgrade/platform.sh) | 0 | ||||
-rwxr-xr-x | target/linux/brcm-2.4/base-files/sbin/hotplug.failsafe (renamed from target/linux/brcm-2.4/base-files/default/sbin/hotplug.failsafe) | 0 | ||||
-rw-r--r-- | target/linux/etrax/base-files/etc/config/network (renamed from target/linux/etrax/base-files/default/etc/config/network) | 0 | ||||
-rw-r--r-- | target/linux/etrax/base-files/etc/ipkg.conf (renamed from target/linux/etrax/base-files/default/etc/ipkg.conf) | 0 | ||||
-rw-r--r-- | target/linux/etrax/base-files/etc/passwd (renamed from target/linux/etrax/base-files/default/etc/passwd) | 0 | ||||
-rw-r--r-- | target/linux/iop32x/base-files/etc/config/network (renamed from target/linux/iop32x/base-files/default/etc/config/network) | 0 | ||||
-rw-r--r-- | target/linux/ixp4xx/base-files/etc/config/network (renamed from target/linux/ixp4xx/base-files/default/etc/config/network) | 0 | ||||
-rw-r--r-- | target/linux/rb532/base-files/etc/config/network (renamed from target/linux/rb532/base-files/default/etc/config/network) | 0 | ||||
-rw-r--r-- | target/linux/rb532/base-files/etc/diag.sh (renamed from target/linux/rb532/base-files/default/etc/diag.sh) | 0 | ||||
-rwxr-xr-x | target/linux/rb532/base-files/sbin/cf2nand (renamed from target/linux/rb532/base-files/default/sbin/cf2nand) | 0 | ||||
-rwxr-xr-x | target/linux/rb532/base-files/sbin/wget2nand (renamed from target/linux/rb532/base-files/default/sbin/wget2nand) | 0 | ||||
-rw-r--r-- | target/linux/rdc/base-files/etc/diag.sh (renamed from target/linux/rdc/base-files/default/etc/diag.sh) | 0 | ||||
-rw-r--r-- | target/linux/rdc/base-files/etc/inittab (renamed from target/linux/rdc/base-files/default/etc/inittab) | 0 | ||||
-rw-r--r-- | target/linux/sibyte/base-files/etc/config/network (renamed from target/linux/sibyte/base-files/default/etc/config/network) | 0 | ||||
-rw-r--r-- | target/linux/sibyte/base-files/etc/inittab (renamed from target/linux/sibyte/base-files/default/etc/inittab) | 0 | ||||
-rw-r--r-- | target/linux/x86/base-files/etc/preinit.arch (renamed from target/linux/x86/base-files/default/etc/preinit.arch) | 0 | ||||
-rw-r--r-- | target/linux/x86/base-files/lib/upgrade/platform.sh (renamed from target/linux/x86/base-files/default/lib/upgrade/platform.sh) | 0 |
33 files changed, 6 insertions, 11 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index d81ec4f..f5bf1ad 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -1,5 +1,5 @@ -# -# Copyright (C) 2006 OpenWrt.org +# +# Copyright (C) 2007 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -130,19 +130,14 @@ define Package/base-files$(TARGET)/install if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \ $(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \ fi - if [ -d $(PLATFORM_DIR)/base-files/default/. ]; then \ - $(CP) $(PLATFORM_DIR)/base-files/default/* $(1)/; \ + if [ -d $(PLATFORM_DIR)/base-files/. ]; then \ + $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \ fi $(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \ - if [ -d $(PLATFORM_SUBDIR)/base-files/default/. ]; then \ - $(CP) $(PLATFORM_SUBDIR)/base-files/default/* $(1)/; \ + if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \ + $(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \ fi \ ) - if [ "$(PROFILE)" != "Default" ]; then \ - if [ -d $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/. ]; then \ - $(CP) $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/* $(1)/; \ - fi; \ - fi $(SED) 's,$$$$R,r$(REV),g' $(1)/etc/banner $(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf mkdir -p $(1)/dev diff --git a/target/linux/adm5120/base-files/default/etc/diag.sh b/target/linux/adm5120/base-files/etc/diag.sh index 3d5d9d8..3d5d9d8 100755 --- a/target/linux/adm5120/base-files/default/etc/diag.sh +++ b/target/linux/adm5120/base-files/etc/diag.sh diff --git a/target/linux/adm5120/base-files/default/lib/adm5120.sh b/target/linux/adm5120/base-files/lib/adm5120.sh index d599a09..d599a09 100755 --- a/target/linux/adm5120/base-files/default/lib/adm5120.sh +++ b/target/linux/adm5120/base-files/lib/adm5120.sh diff --git a/target/linux/adm5120/router_le/base-files/default/sbin/wget2nand b/target/linux/adm5120/router_le/base-files/sbin/wget2nand index adb56b9..adb56b9 100755 --- a/target/linux/adm5120/router_le/base-files/default/sbin/wget2nand +++ b/target/linux/adm5120/router_le/base-files/sbin/wget2nand diff --git a/target/linux/amazon/base-files/default/etc/config/network b/target/linux/amazon/base-files/etc/config/network index 72e39f8..72e39f8 100644 --- a/target/linux/amazon/base-files/default/etc/config/network +++ b/target/linux/amazon/base-files/etc/config/network diff --git a/target/linux/amcc/base-files/default/etc/inittab b/target/linux/amcc/base-files/etc/inittab index 859dc53..859dc53 100644 --- a/target/linux/amcc/base-files/default/etc/inittab +++ b/target/linux/amcc/base-files/etc/inittab diff --git a/target/linux/ar7/base-files/default/etc/config/network b/target/linux/ar7/base-files/etc/config/network index 5fa112c..5fa112c 100644 --- a/target/linux/ar7/base-files/default/etc/config/network +++ b/target/linux/ar7/base-files/etc/config/network diff --git a/target/linux/ar7/base-files/default/etc/diag.sh b/target/linux/ar7/base-files/etc/diag.sh index 22acc71..22acc71 100644 --- a/target/linux/ar7/base-files/default/etc/diag.sh +++ b/target/linux/ar7/base-files/etc/diag.sh diff --git a/target/linux/ar7/base-files/default/etc/init.d/adam2 b/target/linux/ar7/base-files/etc/init.d/adam2 index 6b78627..6b78627 100755 --- a/target/linux/ar7/base-files/default/etc/init.d/adam2 +++ b/target/linux/ar7/base-files/etc/init.d/adam2 diff --git a/target/linux/at91/base-files/default/etc/inittab b/target/linux/at91/base-files/etc/inittab index a627ce5..a627ce5 100644 --- a/target/linux/at91/base-files/default/etc/inittab +++ b/target/linux/at91/base-files/etc/inittab diff --git a/target/linux/at91/base-files/default/etc/ipkg.conf b/target/linux/at91/base-files/etc/ipkg.conf index 10c4f67..10c4f67 100644 --- a/target/linux/at91/base-files/default/etc/ipkg.conf +++ b/target/linux/at91/base-files/etc/ipkg.conf diff --git a/target/linux/atheros/base-files/default/etc/preinit.arch b/target/linux/atheros/base-files/etc/preinit.arch index 7e911ab..7e911ab 100755 --- a/target/linux/atheros/base-files/default/etc/preinit.arch +++ b/target/linux/atheros/base-files/etc/preinit.arch diff --git a/target/linux/au1000/base-files/default/etc/diag.sh b/target/linux/au1000/base-files/etc/diag.sh index d974615..d974615 100644 --- a/target/linux/au1000/base-files/default/etc/diag.sh +++ b/target/linux/au1000/base-files/etc/diag.sh diff --git a/target/linux/brcm-2.4/base-files/default/etc/diag.sh b/target/linux/brcm-2.4/base-files/etc/diag.sh index 3b08554..3b08554 100644 --- a/target/linux/brcm-2.4/base-files/default/etc/diag.sh +++ b/target/linux/brcm-2.4/base-files/etc/diag.sh diff --git a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig index 643ba35..643ba35 100755 --- a/target/linux/brcm-2.4/base-files/default/etc/init.d/netconfig +++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig diff --git a/target/linux/brcm-2.4/base-files/default/etc/preinit.arch b/target/linux/brcm-2.4/base-files/etc/preinit.arch index 43df591..43df591 100755 --- a/target/linux/brcm-2.4/base-files/default/etc/preinit.arch +++ b/target/linux/brcm-2.4/base-files/etc/preinit.arch diff --git a/target/linux/brcm-2.4/base-files/default/lib/upgrade/platform.sh b/target/linux/brcm-2.4/base-files/lib/upgrade/platform.sh index ac53b9d..ac53b9d 100644 --- a/target/linux/brcm-2.4/base-files/default/lib/upgrade/platform.sh +++ b/target/linux/brcm-2.4/base-files/lib/upgrade/platform.sh diff --git a/target/linux/brcm-2.4/base-files/default/sbin/hotplug.failsafe b/target/linux/brcm-2.4/base-files/sbin/hotplug.failsafe index 0544339..0544339 100755 --- a/target/linux/brcm-2.4/base-files/default/sbin/hotplug.failsafe +++ b/target/linux/brcm-2.4/base-files/sbin/hotplug.failsafe diff --git a/target/linux/etrax/base-files/default/etc/config/network b/target/linux/etrax/base-files/etc/config/network index b3632fd..b3632fd 100644 --- a/target/linux/etrax/base-files/default/etc/config/network +++ b/target/linux/etrax/base-files/etc/config/network diff --git a/target/linux/etrax/base-files/default/etc/ipkg.conf b/target/linux/etrax/base-files/etc/ipkg.conf index a5ffc79..a5ffc79 100644 --- a/target/linux/etrax/base-files/default/etc/ipkg.conf +++ b/target/linux/etrax/base-files/etc/ipkg.conf diff --git a/target/linux/etrax/base-files/default/etc/passwd b/target/linux/etrax/base-files/etc/passwd index c5c9e46..c5c9e46 100644 --- a/target/linux/etrax/base-files/default/etc/passwd +++ b/target/linux/etrax/base-files/etc/passwd diff --git a/target/linux/iop32x/base-files/default/etc/config/network b/target/linux/iop32x/base-files/etc/config/network index 1d9b55b..1d9b55b 100644 --- a/target/linux/iop32x/base-files/default/etc/config/network +++ b/target/linux/iop32x/base-files/etc/config/network diff --git a/target/linux/ixp4xx/base-files/default/etc/config/network b/target/linux/ixp4xx/base-files/etc/config/network index 1d5ded3..1d5ded3 100644 --- a/target/linux/ixp4xx/base-files/default/etc/config/network +++ b/target/linux/ixp4xx/base-files/etc/config/network diff --git a/target/linux/rb532/base-files/default/etc/config/network b/target/linux/rb532/base-files/etc/config/network index 8279690..8279690 100644 --- a/target/linux/rb532/base-files/default/etc/config/network +++ b/target/linux/rb532/base-files/etc/config/network diff --git a/target/linux/rb532/base-files/default/etc/diag.sh b/target/linux/rb532/base-files/etc/diag.sh index d8f9a88..d8f9a88 100644 --- a/target/linux/rb532/base-files/default/etc/diag.sh +++ b/target/linux/rb532/base-files/etc/diag.sh diff --git a/target/linux/rb532/base-files/default/sbin/cf2nand b/target/linux/rb532/base-files/sbin/cf2nand index fb37174..fb37174 100755 --- a/target/linux/rb532/base-files/default/sbin/cf2nand +++ b/target/linux/rb532/base-files/sbin/cf2nand diff --git a/target/linux/rb532/base-files/default/sbin/wget2nand b/target/linux/rb532/base-files/sbin/wget2nand index 67e4a94..67e4a94 100755 --- a/target/linux/rb532/base-files/default/sbin/wget2nand +++ b/target/linux/rb532/base-files/sbin/wget2nand diff --git a/target/linux/rdc/base-files/default/etc/diag.sh b/target/linux/rdc/base-files/etc/diag.sh index 8d5c382..8d5c382 100644 --- a/target/linux/rdc/base-files/default/etc/diag.sh +++ b/target/linux/rdc/base-files/etc/diag.sh diff --git a/target/linux/rdc/base-files/default/etc/inittab b/target/linux/rdc/base-files/etc/inittab index 02b920c..02b920c 100644 --- a/target/linux/rdc/base-files/default/etc/inittab +++ b/target/linux/rdc/base-files/etc/inittab diff --git a/target/linux/sibyte/base-files/default/etc/config/network b/target/linux/sibyte/base-files/etc/config/network index 9b65652..9b65652 100644 --- a/target/linux/sibyte/base-files/default/etc/config/network +++ b/target/linux/sibyte/base-files/etc/config/network diff --git a/target/linux/sibyte/base-files/default/etc/inittab b/target/linux/sibyte/base-files/etc/inittab index a6f4e17..a6f4e17 100644 --- a/target/linux/sibyte/base-files/default/etc/inittab +++ b/target/linux/sibyte/base-files/etc/inittab diff --git a/target/linux/x86/base-files/default/etc/preinit.arch b/target/linux/x86/base-files/etc/preinit.arch index f29f0d4..f29f0d4 100644 --- a/target/linux/x86/base-files/default/etc/preinit.arch +++ b/target/linux/x86/base-files/etc/preinit.arch diff --git a/target/linux/x86/base-files/default/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index ffd0b93..ffd0b93 100644 --- a/target/linux/x86/base-files/default/lib/upgrade/platform.sh +++ b/target/linux/x86/base-files/lib/upgrade/platform.sh |