From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmytro Milinevskyy Date: Wed, 16 Jun 2010 23:22:40 +0300 Subject: [Buildroot] [PATCH 1/2] [skeleton] move default skeleton to fs/ and drop busybox skeleton Message-ID: <4c193320.8201df0a.776b.ffffa178@mx.google.com> List-Id: To: buildroot@busybox.net Signed-off-by: Dmytro Milinevskyy --- Makefile | 1 + configs/at91rm9200df_defconfig | 1 - configs/at91rm9200df_ext_defconfig | 1 - configs/at91sam9260dfc_defconfig | 1 - configs/at91sam9260dfc_ext_defconfig | 1 - configs/at91sam9260pf_defconfig | 1 - configs/at91sam9261ek_defconfig | 1 - configs/at91sam9261ek_ext_defconfig | 1 - configs/at91sam9263ek_defconfig | 1 - configs/at91sam9263ek_ext_defconfig | 1 - configs/at91sam9g20dfc_defconfig | 1 - configs/at91sam9g20dfc_ext_defconfig | 1 - configs/atngw100-base_defconfig | 1 - configs/atngw100_defconfig | 1 - configs/atstk1005_defconfig | 1 - configs/atstk100x_defconfig | 1 - configs/i386_defconfig | 1 - configs/i686_defconfig | 1 - configs/integrator926_defconfig | 1 - configs/integrator926_huge_defconfig | 1 - configs/kb9202_defconfig | 1 - configs/v100sc2_defconfig | 1 - fs/skeleton/dev/log | 1 + fs/skeleton/etc/TZ | 1 + fs/skeleton/etc/fstab | 8 + fs/skeleton/etc/group | 17 ++ fs/skeleton/etc/hostname | 1 + fs/skeleton/etc/hosts | 1 + fs/skeleton/etc/init.d/S20urandom | 54 ++++ fs/skeleton/etc/init.d/S40network | 25 ++ fs/skeleton/etc/init.d/rcS | 27 ++ fs/skeleton/etc/inittab | 46 +++ fs/skeleton/etc/inputrc | 44 +++ fs/skeleton/etc/issue | 3 + fs/skeleton/etc/mtab | 1 + fs/skeleton/etc/network/interfaces | 4 + fs/skeleton/etc/passwd | 15 + fs/skeleton/etc/profile | 48 +++ fs/skeleton/etc/protocols | 31 ++ fs/skeleton/etc/random-seed | Bin 0 -> 512 bytes fs/skeleton/etc/resolv.conf | 1 + fs/skeleton/etc/securetty | 35 +++ fs/skeleton/etc/services | 302 ++++++++++++++++++++ fs/skeleton/etc/shadow | 12 + fs/skeleton/root/.bash_logout | 7 + fs/skeleton/root/.bash_profile | 15 + fs/skeleton/root/.bashrc | 48 +++ fs/skeleton/usr/share/udhcpc/default.script | 39 +++ fs/skeleton/var/cache | 1 + fs/skeleton/var/lib/pcmcia | 1 + fs/skeleton/var/lock | 1 + fs/skeleton/var/log | 1 + fs/skeleton/var/pcmcia | 1 + fs/skeleton/var/run | 1 + fs/skeleton/var/spool | 1 + fs/skeleton/var/tmp | 1 + package/busybox/Config.in | 6 - package/busybox/busybox.mk | 4 - target/generic/Makefile.in | 7 - target/generic/target_busybox_skeleton/etc/TZ | 1 - target/generic/target_busybox_skeleton/etc/fstab | 8 - target/generic/target_busybox_skeleton/etc/group | 16 - .../generic/target_busybox_skeleton/etc/hostname | 1 - target/generic/target_busybox_skeleton/etc/hosts | 1 - .../target_busybox_skeleton/etc/init.d/S20urandom | 54 ---- .../target_busybox_skeleton/etc/init.d/S40network | 25 -- .../generic/target_busybox_skeleton/etc/init.d/rcS | 27 -- target/generic/target_busybox_skeleton/etc/inittab | 51 ---- target/generic/target_busybox_skeleton/etc/inputrc | 44 --- target/generic/target_busybox_skeleton/etc/issue | 3 - target/generic/target_busybox_skeleton/etc/mtab | 1 - .../target_busybox_skeleton/etc/network/interfaces | 4 - target/generic/target_busybox_skeleton/etc/passwd | 15 - target/generic/target_busybox_skeleton/etc/profile | 48 --- .../generic/target_busybox_skeleton/etc/protocols | 31 -- .../target_busybox_skeleton/etc/random-seed | Bin 512 -> 0 bytes .../target_busybox_skeleton/etc/resolv.conf | 1 - .../generic/target_busybox_skeleton/etc/securetty | 35 --- .../generic/target_busybox_skeleton/etc/services | 302 -------------------- target/generic/target_busybox_skeleton/etc/shadow | 12 - target/generic/target_busybox_skeleton/var/cache | 1 - .../generic/target_busybox_skeleton/var/lib/pcmcia | 1 - target/generic/target_busybox_skeleton/var/lock | 1 - target/generic/target_busybox_skeleton/var/log | 1 - target/generic/target_busybox_skeleton/var/pcmcia | 1 - target/generic/target_busybox_skeleton/var/run | 1 - target/generic/target_busybox_skeleton/var/spool | 1 - target/generic/target_busybox_skeleton/var/tmp | 1 - target/generic/target_skeleton/dev/log | 1 - target/generic/target_skeleton/etc/TZ | 1 - target/generic/target_skeleton/etc/fstab | 8 - target/generic/target_skeleton/etc/group | 17 -- target/generic/target_skeleton/etc/hostname | 1 - target/generic/target_skeleton/etc/hosts | 1 - .../generic/target_skeleton/etc/init.d/S20urandom | 54 ---- .../generic/target_skeleton/etc/init.d/S40network | 25 -- target/generic/target_skeleton/etc/init.d/rcS | 27 -- target/generic/target_skeleton/etc/inittab | 46 --- target/generic/target_skeleton/etc/inputrc | 44 --- target/generic/target_skeleton/etc/issue | 3 - target/generic/target_skeleton/etc/mtab | 1 - .../generic/target_skeleton/etc/network/interfaces | 4 - target/generic/target_skeleton/etc/passwd | 15 - target/generic/target_skeleton/etc/profile | 48 --- target/generic/target_skeleton/etc/protocols | 31 -- target/generic/target_skeleton/etc/random-seed | Bin 512 -> 0 bytes target/generic/target_skeleton/etc/resolv.conf | 1 - target/generic/target_skeleton/etc/securetty | 35 --- target/generic/target_skeleton/etc/services | 302 -------------------- target/generic/target_skeleton/etc/shadow | 12 - target/generic/target_skeleton/root/.bash_logout | 7 - target/generic/target_skeleton/root/.bash_profile | 15 - target/generic/target_skeleton/root/.bashrc | 48 --- .../usr/share/udhcpc/default.script | 39 --- target/generic/target_skeleton/var/cache | 1 - target/generic/target_skeleton/var/lib/pcmcia | 1 - target/generic/target_skeleton/var/lock | 1 - target/generic/target_skeleton/var/log | 1 - target/generic/target_skeleton/var/pcmcia | 1 - target/generic/target_skeleton/var/run | 1 - target/generic/target_skeleton/var/spool | 1 - target/generic/target_skeleton/var/tmp | 1 - 122 files changed, 795 insertions(+), 1520 deletions(-) create mode 100644 fs/skeleton/bin/.empty create mode 120000 fs/skeleton/dev/log create mode 100644 fs/skeleton/dev/pts/.empty create mode 100644 fs/skeleton/etc/TZ create mode 100644 fs/skeleton/etc/fstab create mode 100644 fs/skeleton/etc/group create mode 100644 fs/skeleton/etc/hostname create mode 100644 fs/skeleton/etc/hosts create mode 100755 fs/skeleton/etc/init.d/S20urandom create mode 100755 fs/skeleton/etc/init.d/S40network create mode 100755 fs/skeleton/etc/init.d/rcS create mode 100644 fs/skeleton/etc/inittab create mode 100644 fs/skeleton/etc/inputrc create mode 100644 fs/skeleton/etc/issue create mode 100644 fs/skeleton/etc/ld.so.conf.d/.empty create mode 120000 fs/skeleton/etc/mtab create mode 100644 fs/skeleton/etc/network/interfaces create mode 100644 fs/skeleton/etc/passwd create mode 100644 fs/skeleton/etc/profile create mode 100644 fs/skeleton/etc/protocols create mode 100644 fs/skeleton/etc/random-seed create mode 120000 fs/skeleton/etc/resolv.conf create mode 100644 fs/skeleton/etc/securetty create mode 100644 fs/skeleton/etc/services create mode 100644 fs/skeleton/etc/shadow create mode 100644 fs/skeleton/home/.empty create mode 100644 fs/skeleton/lib/.empty create mode 100644 fs/skeleton/mnt/.empty create mode 100644 fs/skeleton/opt/.empty create mode 100644 fs/skeleton/proc/.empty create mode 100644 fs/skeleton/root/.bash_history create mode 100644 fs/skeleton/root/.bash_logout create mode 100644 fs/skeleton/root/.bash_profile create mode 100644 fs/skeleton/root/.bashrc create mode 100644 fs/skeleton/root/.empty create mode 100644 fs/skeleton/sbin/.empty create mode 100644 fs/skeleton/sys/.empty create mode 100644 fs/skeleton/tmp/.empty create mode 100644 fs/skeleton/usr/bin/.empty create mode 100644 fs/skeleton/usr/lib/.empty create mode 100644 fs/skeleton/usr/sbin/.empty create mode 100755 fs/skeleton/usr/share/udhcpc/default.script create mode 120000 fs/skeleton/var/cache create mode 120000 fs/skeleton/var/lib/pcmcia create mode 120000 fs/skeleton/var/lock create mode 120000 fs/skeleton/var/log create mode 120000 fs/skeleton/var/pcmcia create mode 120000 fs/skeleton/var/run create mode 120000 fs/skeleton/var/spool create mode 120000 fs/skeleton/var/tmp delete mode 100644 target/generic/target_busybox_skeleton/dev/.empty delete mode 100644 target/generic/target_busybox_skeleton/etc/TZ delete mode 100644 target/generic/target_busybox_skeleton/etc/fstab delete mode 100644 target/generic/target_busybox_skeleton/etc/group delete mode 100644 target/generic/target_busybox_skeleton/etc/hostname delete mode 100644 target/generic/target_busybox_skeleton/etc/hosts delete mode 100755 target/generic/target_busybox_skeleton/etc/init.d/S20urandom delete mode 100755 target/generic/target_busybox_skeleton/etc/init.d/S40network delete mode 100755 target/generic/target_busybox_skeleton/etc/init.d/rcS delete mode 100644 target/generic/target_busybox_skeleton/etc/inittab delete mode 100644 target/generic/target_busybox_skeleton/etc/inputrc delete mode 100644 target/generic/target_busybox_skeleton/etc/issue delete mode 120000 target/generic/target_busybox_skeleton/etc/mtab delete mode 100644 target/generic/target_busybox_skeleton/etc/network/interfaces delete mode 100644 target/generic/target_busybox_skeleton/etc/passwd delete mode 100644 target/generic/target_busybox_skeleton/etc/profile delete mode 100644 target/generic/target_busybox_skeleton/etc/protocols delete mode 100644 target/generic/target_busybox_skeleton/etc/random-seed delete mode 120000 target/generic/target_busybox_skeleton/etc/resolv.conf delete mode 100644 target/generic/target_busybox_skeleton/etc/securetty delete mode 100644 target/generic/target_busybox_skeleton/etc/services delete mode 100644 target/generic/target_busybox_skeleton/etc/shadow delete mode 100644 target/generic/target_busybox_skeleton/proc/.empty delete mode 100644 target/generic/target_busybox_skeleton/root/.empty delete mode 100644 target/generic/target_busybox_skeleton/sys/.empty delete mode 100644 target/generic/target_busybox_skeleton/tmp/.empty delete mode 100644 target/generic/target_busybox_skeleton/usr/sbin/.empty delete mode 120000 target/generic/target_busybox_skeleton/var/cache delete mode 120000 target/generic/target_busybox_skeleton/var/lib/pcmcia delete mode 120000 target/generic/target_busybox_skeleton/var/lock delete mode 120000 target/generic/target_busybox_skeleton/var/log delete mode 120000 target/generic/target_busybox_skeleton/var/pcmcia delete mode 120000 target/generic/target_busybox_skeleton/var/run delete mode 120000 target/generic/target_busybox_skeleton/var/spool delete mode 120000 target/generic/target_busybox_skeleton/var/tmp delete mode 100644 target/generic/target_skeleton/bin/.empty delete mode 120000 target/generic/target_skeleton/dev/log delete mode 100644 target/generic/target_skeleton/dev/pts/.empty delete mode 100644 target/generic/target_skeleton/etc/TZ delete mode 100644 target/generic/target_skeleton/etc/fstab delete mode 100644 target/generic/target_skeleton/etc/group delete mode 100644 target/generic/target_skeleton/etc/hostname delete mode 100644 target/generic/target_skeleton/etc/hosts delete mode 100755 target/generic/target_skeleton/etc/init.d/S20urandom delete mode 100755 target/generic/target_skeleton/etc/init.d/S40network delete mode 100755 target/generic/target_skeleton/etc/init.d/rcS delete mode 100644 target/generic/target_skeleton/etc/inittab delete mode 100644 target/generic/target_skeleton/etc/inputrc delete mode 100644 target/generic/target_skeleton/etc/issue delete mode 100644 target/generic/target_skeleton/etc/ld.so.conf.d/.empty delete mode 120000 target/generic/target_skeleton/etc/mtab delete mode 100644 target/generic/target_skeleton/etc/network/interfaces delete mode 100644 target/generic/target_skeleton/etc/passwd delete mode 100644 target/generic/target_skeleton/etc/profile delete mode 100644 target/generic/target_skeleton/etc/protocols delete mode 100644 target/generic/target_skeleton/etc/random-seed delete mode 120000 target/generic/target_skeleton/etc/resolv.conf delete mode 100644 target/generic/target_skeleton/etc/securetty delete mode 100644 target/generic/target_skeleton/etc/services delete mode 100644 target/generic/target_skeleton/etc/shadow delete mode 100644 target/generic/target_skeleton/home/.empty delete mode 100644 target/generic/target_skeleton/lib/.empty delete mode 100644 target/generic/target_skeleton/mnt/.empty delete mode 100644 target/generic/target_skeleton/opt/.empty delete mode 100644 target/generic/target_skeleton/proc/.empty delete mode 100644 target/generic/target_skeleton/root/.bash_history delete mode 100644 target/generic/target_skeleton/root/.bash_logout delete mode 100644 target/generic/target_skeleton/root/.bash_profile delete mode 100644 target/generic/target_skeleton/root/.bashrc delete mode 100644 target/generic/target_skeleton/root/.empty delete mode 100644 target/generic/target_skeleton/sbin/.empty delete mode 100644 target/generic/target_skeleton/sys/.empty delete mode 100644 target/generic/target_skeleton/tmp/.empty delete mode 100644 target/generic/target_skeleton/usr/bin/.empty delete mode 100644 target/generic/target_skeleton/usr/lib/.empty delete mode 100644 target/generic/target_skeleton/usr/sbin/.empty delete mode 100755 target/generic/target_skeleton/usr/share/udhcpc/default.script delete mode 120000 target/generic/target_skeleton/var/cache delete mode 120000 target/generic/target_skeleton/var/lib/pcmcia delete mode 120000 target/generic/target_skeleton/var/lock delete mode 120000 target/generic/target_skeleton/var/log delete mode 120000 target/generic/target_skeleton/var/pcmcia delete mode 120000 target/generic/target_skeleton/var/run delete mode 120000 target/generic/target_skeleton/var/spool delete mode 120000 target/generic/target_skeleton/var/tmp diff --git a/Makefile b/Makefile index 794a298..e0fac17 100644 --- a/Makefile +++ b/Makefile @@ -269,6 +269,7 @@ STAMP_DIR:=$(BASE_DIR)/stamps BINARIES_DIR:=$(BASE_DIR)/images TARGET_DIR:=$(BASE_DIR)/target TOOLCHAIN_DIR=$(BASE_DIR)/toolchain +TARGET_SKELETON=$(BASE_DIR)/fs/skeleton BR2_DEPENDS_DIR=$(BUILD_DIR)/buildroot-config diff --git a/configs/at91rm9200df_defconfig b/configs/at91rm9200df_defconfig index afa0aaf..8ca6006 100644 --- a/configs/at91rm9200df_defconfig +++ b/configs/at91rm9200df_defconfig @@ -324,7 +324,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91rm9200df_ext_defconfig b/configs/at91rm9200df_ext_defconfig index d549eac..4ced97a 100644 --- a/configs/at91rm9200df_ext_defconfig +++ b/configs/at91rm9200df_ext_defconfig @@ -250,7 +250,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9260dfc_defconfig b/configs/at91sam9260dfc_defconfig index 3865f6a..2eadc73 100644 --- a/configs/at91sam9260dfc_defconfig +++ b/configs/at91sam9260dfc_defconfig @@ -336,7 +336,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9260dfc_ext_defconfig b/configs/at91sam9260dfc_ext_defconfig index 46218a0..1c07b85 100644 --- a/configs/at91sam9260dfc_ext_defconfig +++ b/configs/at91sam9260dfc_ext_defconfig @@ -258,7 +258,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9260pf_defconfig b/configs/at91sam9260pf_defconfig index b45271c..3707586 100644 --- a/configs/at91sam9260pf_defconfig +++ b/configs/at91sam9260pf_defconfig @@ -238,7 +238,6 @@ BR2_BUSYBOX_VERSION="1.13.4" BR2_PACKAGE_BUSYBOX_INSTALL_SYMLINKS=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9261ek_defconfig b/configs/at91sam9261ek_defconfig index 2f0bd52..a8ebc7b 100644 --- a/configs/at91sam9261ek_defconfig +++ b/configs/at91sam9261ek_defconfig @@ -330,7 +330,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9261ek_ext_defconfig b/configs/at91sam9261ek_ext_defconfig index afb5fbe..3b547f3 100644 --- a/configs/at91sam9261ek_ext_defconfig +++ b/configs/at91sam9261ek_ext_defconfig @@ -289,7 +289,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9263ek_defconfig b/configs/at91sam9263ek_defconfig index 22c4c0c..fc09c19 100644 --- a/configs/at91sam9263ek_defconfig +++ b/configs/at91sam9263ek_defconfig @@ -329,7 +329,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9263ek_ext_defconfig b/configs/at91sam9263ek_ext_defconfig index f93b10a..6ba7aba 100644 --- a/configs/at91sam9263ek_ext_defconfig +++ b/configs/at91sam9263ek_ext_defconfig @@ -251,7 +251,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9g20dfc_defconfig b/configs/at91sam9g20dfc_defconfig index 3b53329..cc702d4 100644 --- a/configs/at91sam9g20dfc_defconfig +++ b/configs/at91sam9g20dfc_defconfig @@ -329,7 +329,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/at91sam9g20dfc_ext_defconfig b/configs/at91sam9g20dfc_ext_defconfig index 053a9aa..2cf7d46 100644 --- a/configs/at91sam9g20dfc_ext_defconfig +++ b/configs/at91sam9g20dfc_ext_defconfig @@ -258,7 +258,6 @@ BR2_BUSYBOX_VERSION="1.13.2" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/atngw100-base_defconfig b/configs/atngw100-base_defconfig index 4b5b633..e5276e2 100644 --- a/configs/atngw100-base_defconfig +++ b/configs/atngw100-base_defconfig @@ -248,7 +248,6 @@ BR2_BUSYBOX_VERSION="1.14.0" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -BR2_PACKAGE_BUSYBOX_SKELETON=y # # The minimum needed to build a uClibc development system diff --git a/configs/atngw100_defconfig b/configs/atngw100_defconfig index 0c22b90..d2a903b 100644 --- a/configs/atngw100_defconfig +++ b/configs/atngw100_defconfig @@ -245,7 +245,6 @@ BR2_BUSYBOX_VERSION="1.16.1" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -BR2_PACKAGE_BUSYBOX_SKELETON=y # BR2_PACKAGE_CUSTOMIZE is not set # diff --git a/configs/atstk1005_defconfig b/configs/atstk1005_defconfig index 213157b..a2bcbba 100644 --- a/configs/atstk1005_defconfig +++ b/configs/atstk1005_defconfig @@ -268,7 +268,6 @@ BR2_BUSYBOX_VERSION="1.13.4" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -BR2_PACKAGE_BUSYBOX_SKELETON=y # # The minimum needed to build a uClibc development system diff --git a/configs/atstk100x_defconfig b/configs/atstk100x_defconfig index bbdf26f..a932124 100644 --- a/configs/atstk100x_defconfig +++ b/configs/atstk100x_defconfig @@ -259,7 +259,6 @@ BR2_BUSYBOX_VERSION="1.14.0" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="target/device/Atmel/atstk100x/busybox-1.9.1.config" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_BUSYBOX_SKELETON=y # # The minimum needed to build a uClibc development system diff --git a/configs/i386_defconfig b/configs/i386_defconfig index 2481412..b26fdbe 100644 --- a/configs/i386_defconfig +++ b/configs/i386_defconfig @@ -257,7 +257,6 @@ BR2_BUSYBOX_VERSION="1.14.0" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/i686_defconfig b/configs/i686_defconfig index 066842f..99a0230 100644 --- a/configs/i686_defconfig +++ b/configs/i686_defconfig @@ -257,7 +257,6 @@ BR2_BUSYBOX_VERSION="1.14.0" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/integrator926_defconfig b/configs/integrator926_defconfig index 2c11692..bf6c732 100644 --- a/configs/integrator926_defconfig +++ b/configs/integrator926_defconfig @@ -255,7 +255,6 @@ BR2_BUSYBOX_VERSION="1.13.4" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -BR2_PACKAGE_BUSYBOX_SKELETON=y # # The minimum needed to build a uClibc development system diff --git a/configs/integrator926_huge_defconfig b/configs/integrator926_huge_defconfig index 4aacbcb..363e8c9 100644 --- a/configs/integrator926_huge_defconfig +++ b/configs/integrator926_huge_defconfig @@ -256,7 +256,6 @@ BR2_BUSYBOX_VERSION="1.13.4" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" # BR2_PACKAGE_BUSYBOX_SHOW_OTHERS is not set -BR2_PACKAGE_BUSYBOX_SKELETON=y # # The minimum needed to build a uClibc development system diff --git a/configs/kb9202_defconfig b/configs/kb9202_defconfig index 4c84b9e..296f203 100644 --- a/configs/kb9202_defconfig +++ b/configs/kb9202_defconfig @@ -254,7 +254,6 @@ BR2_BUSYBOX_VERSION="1.13.4" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="package/busybox/busybox-1.13.x.config" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -# BR2_PACKAGE_BUSYBOX_SKELETON is not set # # The minimum needed to build a uClibc development system diff --git a/configs/v100sc2_defconfig b/configs/v100sc2_defconfig index 1ee7a9e..1355150 100644 --- a/configs/v100sc2_defconfig +++ b/configs/v100sc2_defconfig @@ -229,7 +229,6 @@ BR2_BUSYBOX_VERSION="1.12.1" BR2_PACKAGE_BUSYBOX_FULLINSTALL=y BR2_PACKAGE_BUSYBOX_CONFIG="target/device/valka/v100sc2/busybox.config" BR2_PACKAGE_BUSYBOX_SHOW_OTHERS=y -BR2_PACKAGE_BUSYBOX_SKELETON=y # # The minimum needed to build a uClibc development system diff --git a/fs/skeleton/bin/.empty b/fs/skeleton/bin/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/dev/log b/fs/skeleton/dev/log new file mode 120000 index 0000000..d96b3b1 --- /dev/null +++ b/fs/skeleton/dev/log @@ -0,0 +1 @@ +../tmp/log \ No newline at end of file diff --git a/fs/skeleton/dev/pts/.empty b/fs/skeleton/dev/pts/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/etc/TZ b/fs/skeleton/etc/TZ new file mode 100644 index 0000000..9fcb2a3 --- /dev/null +++ b/fs/skeleton/etc/TZ @@ -0,0 +1 @@ +MST7MDT diff --git a/fs/skeleton/etc/fstab b/fs/skeleton/etc/fstab new file mode 100644 index 0000000..87d9da0 --- /dev/null +++ b/fs/skeleton/etc/fstab @@ -0,0 +1,8 @@ +# /etc/fstab: static file system information. +# +# +/dev/root / ext2 rw,noauto 0 1 +proc /proc proc defaults 0 0 +devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 +tmpfs /tmp tmpfs defaults 0 0 +sysfs /sys sysfs defaults 0 0 diff --git a/fs/skeleton/etc/group b/fs/skeleton/etc/group new file mode 100644 index 0000000..c600be0 --- /dev/null +++ b/fs/skeleton/etc/group @@ -0,0 +1,17 @@ +root:x:0: +daemon:x:1: +bin:x:2: +sys:x:3: +adm:x:4: +tty:x:5: +disk:x:6: +wheel:x:10:root +utmp:x:43: +staff:x:50: +haldaemon:x:68: +dbus:x:81: +netdev:x:82: +nobody:x:99: +nogroup:x:99: +users:x:100: +default:x:1000: diff --git a/fs/skeleton/etc/hostname b/fs/skeleton/etc/hostname new file mode 100644 index 0000000..5b26b35 --- /dev/null +++ b/fs/skeleton/etc/hostname @@ -0,0 +1 @@ +buildroot diff --git a/fs/skeleton/etc/hosts b/fs/skeleton/etc/hosts new file mode 100644 index 0000000..ba712fe --- /dev/null +++ b/fs/skeleton/etc/hosts @@ -0,0 +1 @@ +127.0.0.1 localhost diff --git a/fs/skeleton/etc/init.d/S20urandom b/fs/skeleton/etc/init.d/S20urandom new file mode 100755 index 0000000..f73cea5 --- /dev/null +++ b/fs/skeleton/etc/init.d/S20urandom @@ -0,0 +1,54 @@ +#! /bin/sh +# +# urandom This script saves the random seed between reboots. +# It is called from the boot, halt and reboot scripts. +# +# Version: @(#)urandom 1.33 22-Jun-1998 miquels at cistron.nl +# + +[ -c /dev/urandom ] || exit 0 +#. /etc/default/rcS + +case "$1" in + start|"") + if [ "$VERBOSE" != no ] + then + echo -n "Initializing random number generator... " + fi + # Load and then save 512 bytes, + # which is the size of the entropy pool + if [ -f /etc/random-seed ] + then + cat /etc/random-seed >/dev/urandom + fi + # check for read only file system + if ! touch /etc/random-seed 2>/dev/null + then + echo "read-only file system detected...done" + exit + fi + rm -f /etc/random-seed + umask 077 + dd if=/dev/urandom of=/etc/random-seed count=1 \ + >/dev/null 2>&1 || echo "urandom start: failed." + umask 022 + [ "$VERBOSE" != no ] && echo "done." + ;; + stop) + if ! touch /etc/random-seed 2>/dev/null + then + exit + fi + # Carry a random seed from shut-down to start-up; + # see documentation in linux/drivers/char/random.c + [ "$VERBOSE" != no ] && echo -n "Saving random seed... " + umask 077 + dd if=/dev/urandom of=/etc/random-seed count=1 \ + >/dev/null 2>&1 || echo "urandom stop: failed." + [ "$VERBOSE" != no ] && echo "done." + ;; + *) + echo "Usage: urandom {start|stop}" >&2 + exit 1 + ;; +esac diff --git a/fs/skeleton/etc/init.d/S40network b/fs/skeleton/etc/init.d/S40network new file mode 100755 index 0000000..ad6d250 --- /dev/null +++ b/fs/skeleton/etc/init.d/S40network @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Start the network.... +# + +case "$1" in + start) + echo "Starting network..." + /sbin/ifup -a + ;; + stop) + echo -n "Stopping network..." + /sbin/ifdown -a + ;; + restart|reload) + "$0" stop + "$0" start + ;; + *) + echo $"Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? + diff --git a/fs/skeleton/etc/init.d/rcS b/fs/skeleton/etc/init.d/rcS new file mode 100755 index 0000000..de41153 --- /dev/null +++ b/fs/skeleton/etc/init.d/rcS @@ -0,0 +1,27 @@ +#!/bin/sh + + +# Start all init scripts in /etc/init.d +# executing them in numerical order. +# +for i in /etc/init.d/S??* ;do + + # Ignore dangling symlinks (if any). + [ ! -f "$i" ] && continue + + case "$i" in + *.sh) + # Source shell script for speed. + ( + trap - INT QUIT TSTP + set start + . $i + ) + ;; + *) + # No sh extension, so fork subprocess. + $i start + ;; + esac +done + diff --git a/fs/skeleton/etc/inittab b/fs/skeleton/etc/inittab new file mode 100644 index 0000000..4be14b8 --- /dev/null +++ b/fs/skeleton/etc/inittab @@ -0,0 +1,46 @@ +# /etc/inittab +# +# Copyright (C) 2001 Erik Andersen +# +# Note: BusyBox init doesn't support runlevels. The runlevels field is +# completely ignored by BusyBox init. If you want runlevels, use +# sysvinit. +# +# Format for each entry: ::: +# +# id == tty to run on, or empty for /dev/console +# runlevels == ignored +# action == one of sysinit, respawn, askfirst, wait, and once +# process == program to run + +# Startup the system +null::sysinit:/bin/mount -o remount,rw / +null::sysinit:/bin/mount -t proc proc /proc +null::sysinit:/bin/mkdir -p /dev/pts +null::sysinit:/bin/mount -a +null::sysinit:/bin/hostname -F /etc/hostname +# now run any rc scripts +::sysinit:/etc/init.d/rcS + +# Set up a couple of getty's +tty1::respawn:/sbin/getty 38400 tty1 +tty2::respawn:/sbin/getty 38400 tty2 + +# Put a getty on the serial port +#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL + +# Logging junk +null::sysinit:/bin/touch /var/log/messages +null::respawn:/sbin/syslogd -n -m 0 +null::respawn:/sbin/klogd -n +tty3::respawn:/usr/bin/tail -f /var/log/messages + +# Stuff to do for the 3-finger salute +::ctrlaltdel:/sbin/reboot + +# Stuff to do before rebooting +null::shutdown:/usr/bin/killall klogd +null::shutdown:/usr/bin/killall syslogd +null::shutdown:/bin/umount -a -r +null::shutdown:/sbin/swapoff -a + diff --git a/fs/skeleton/etc/inputrc b/fs/skeleton/etc/inputrc new file mode 100644 index 0000000..2f1cb60 --- /dev/null +++ b/fs/skeleton/etc/inputrc @@ -0,0 +1,44 @@ +# /etc/inputrc - global inputrc for libreadline +# See readline(3readline) and `info readline' for more information. + +# Be 8 bit clean. +set input-meta on +set output-meta on +set bell-style visible + +# To allow the use of 8bit-characters like the german umlauts, comment out +# the line below. However this makes the meta key not work as a meta key, +# which is annoying to those which don't need to type in 8-bit characters. + +# set convert-meta off + +"\e0d": backward-word +"\e0c": forward-word +"\e[h": beginning-of-line +"\e[f": end-of-line +"\e[1~": beginning-of-line +"\e[4~": end-of-line +#"\e[5~": beginning-of-history +#"\e[6~": end-of-history +"\e[3~": delete-char +"\e[2~": quoted-insert + +# Common standard keypad and cursor +# (codes courtsey Werner Fink, ) +#"\e[1~": history-search-backward +"\e[2~": yank +"\e[3~": delete-char +#"\e[4~": set-mark +"\e[5~": history-search-backward +"\e[6~": history-search-forward +# Normal keypad and cursor of xterm +"\e[F": end-of-line +"\e[H": beginning-of-line +# Application keypad and cursor of xterm +"\eOA": previous-history +"\eOC": forward-char +"\eOB": next-history +"\eOD": backward-char +"\eOF": end-of-line +"\eOH": beginning-of-line + diff --git a/fs/skeleton/etc/issue b/fs/skeleton/etc/issue new file mode 100644 index 0000000..90f1779 --- /dev/null +++ b/fs/skeleton/etc/issue @@ -0,0 +1,3 @@ + +Welcome to Buildroot + diff --git a/fs/skeleton/etc/ld.so.conf.d/.empty b/fs/skeleton/etc/ld.so.conf.d/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/etc/mtab b/fs/skeleton/etc/mtab new file mode 120000 index 0000000..e1c2045 --- /dev/null +++ b/fs/skeleton/etc/mtab @@ -0,0 +1 @@ +../proc/mounts \ No newline at end of file diff --git a/fs/skeleton/etc/network/interfaces b/fs/skeleton/etc/network/interfaces new file mode 100644 index 0000000..218b82c --- /dev/null +++ b/fs/skeleton/etc/network/interfaces @@ -0,0 +1,4 @@ +# Configure Loopback +auto lo +iface lo inet loopback + diff --git a/fs/skeleton/etc/passwd b/fs/skeleton/etc/passwd new file mode 100644 index 0000000..377d4df --- /dev/null +++ b/fs/skeleton/etc/passwd @@ -0,0 +1,15 @@ +root:x:0:0:root:/root:/bin/sh +daemon:x:1:1:daemon:/usr/sbin:/bin/sh +bin:x:2:2:bin:/bin:/bin/sh +sys:x:3:3:sys:/dev:/bin/sh +sync:x:4:100:sync:/bin:/bin/sync +mail:x:8:8:mail:/var/spool/mail:/bin/sh +proxy:x:13:13:proxy:/bin:/bin/sh +www-data:x:33:33:www-data:/var/www:/bin/sh +backup:x:34:34:backup:/var/backups:/bin/sh +operator:x:37:37:Operator:/var:/bin/sh +haldaemon:x:68:68:hald:/:/bin/sh +dbus:x:81:81:dbus:/var/run/dbus:/bin/sh +nobody:x:99:99:nobody:/home:/bin/sh +sshd:x:103:99:Operator:/var:/bin/sh +default:x:1000:1000:Default non-root user:/home/default:/bin/sh diff --git a/fs/skeleton/etc/profile b/fs/skeleton/etc/profile new file mode 100644 index 0000000..cc2e0be --- /dev/null +++ b/fs/skeleton/etc/profile @@ -0,0 +1,48 @@ +# ~/.bashrc: executed by bash(1) for non-login interactive shells. + +export PATH=\ +/bin:\ +/sbin:\ +/usr/bin:\ +/usr/sbin:\ +/usr/bin/X11:\ +/usr/local/bin + +# If running interactively, then: +if [ "$PS1" ]; then + + if [ "$BASH" ]; then + export PS1="[\u@\h \W]\\$ " + alias ll='/bin/ls --color=tty -laFh' + alias ls='/bin/ls --color=tty -F' + export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:'; + else + if [ "`id -u`" -eq 0 ]; then + export PS1='# ' + else + export PS1='$ ' + fi + fi + + export USER=`id -un` + export LOGNAME=$USER + export HOSTNAME=`/bin/hostname` + export HISTSIZE=1000 + export HISTFILESIZE=1000 + export PAGER='/bin/more ' + export EDITOR='/bin/vi' + export INPUTRC=/etc/inputrc + export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile + + ### Some aliases + alias ps2='ps facux ' + alias ps1='ps faxo "%U %t %p %a" ' + alias af='ps af' + alias cls='clear' + alias df='df -h' + alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 ' + #alias bc='bc -l' + alias minicom='minicom -c on' + alias calc='calc -Cd ' + alias bc='calc -Cd ' +fi; diff --git a/fs/skeleton/etc/protocols b/fs/skeleton/etc/protocols new file mode 100644 index 0000000..1ac8a40 --- /dev/null +++ b/fs/skeleton/etc/protocols @@ -0,0 +1,31 @@ +# /etc/protocols: +# $Id: protocols,v 1.1 2004/10/09 02:49:18 andersen Exp $ +# +# Internet (IP) protocols +# +# from: @(#)protocols 5.1 (Berkeley) 4/17/89 +# +# Updated for NetBSD based on RFC 1340, Assigned Numbers (July 1992). + +ip 0 IP # internet protocol, pseudo protocol number +icmp 1 ICMP # internet control message protocol +igmp 2 IGMP # Internet Group Management +ggp 3 GGP # gateway-gateway protocol +ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') +st 5 ST # ST datagram mode +tcp 6 TCP # transmission control protocol +egp 8 EGP # exterior gateway protocol +pup 12 PUP # PARC universal packet protocol +udp 17 UDP # user datagram protocol +hmp 20 HMP # host monitoring protocol +xns-idp 22 XNS-IDP # Xerox NS IDP +rdp 27 RDP # "reliable datagram" protocol +iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 +xtp 36 XTP # Xpress Tranfer Protocol +ddp 37 DDP # Datagram Delivery Protocol +idpr-cmtp 39 IDPR-CMTP # IDPR Control Message Transport +rspf 73 RSPF #Radio Shortest Path First. +vmtp 81 VMTP # Versatile Message Transport +ospf 89 OSPFIGP # Open Shortest Path First IGP +ipip 94 IPIP # Yet Another IP encapsulation +encap 98 ENCAP # Yet Another IP encapsulation diff --git a/fs/skeleton/etc/random-seed b/fs/skeleton/etc/random-seed new file mode 100644 index 0000000000000000000000000000000000000000..f26038adc5d057a0b9d6ce5d3cda02ccb4a4d12e GIT binary patch literal 512 zcmV+b0{{Iq0UOB42;n4xpAvJIL$H4mg*!B4&9jh)7+B2j-fX7o at K*bzj;pJ$FwoQzl&MuZ^Wy zrYS)x9vq<)#e~&1uB|_ITW-fntEg1^KXs3>vvgL7?_kg!+6=fg{S7mwkr$#pmPZ13liCc zi|M+im&71p*p+Z|7f(m-aedNFtEezFN-nZHytAhV~}?OM$-f$(%cG(ioV{==Ub4mfZP}OaJJ7 z25tvCcku=>;L?}O-dvK9`}<^gmg@IrnfQm#P>RRF|C9c;GDgEg_bw26{dkIVt1`{` z3#ol{Q_FL91TBD~{uZnRRZ(Otf!KXM&;q)8B The Registered Ports are not controlled by the IANA and on most systems +#> can be used by ordinary user processes or programs executed by ordinary +#> users. +# +#> Ports are used in the TCP [45,106] to name the ends of logical +#> connections which carry long term conversations. For the purpose of +#> providing services to unknown callers, a service contact port is +#> defined. This list specifies the port used by the server process as its +#> contact port. While the IANA can not control uses of these ports it +#> does register or list uses of these ports as a convienence to the +#> community. +# +nfsdstatus 1110/tcp +nfsd-keepalive 1110/udp + +ingreslock 1524/tcp +ingreslock 1524/udp +prospero-np 1525/tcp # Prospero non-privileged +prospero-np 1525/udp +datametrics 1645/tcp old-radius # datametrics / old radius entry +datametrics 1645/udp old-radius # datametrics / old radius entry +sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entry +sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entry +radius 1812/tcp # Radius +radius 1812/udp # Radius +radacct 1813/tcp # Radius Accounting +radacct 1813/udp # Radius Accounting +nfsd 2049/tcp nfs +nfsd 2049/udp nfs +cvspserver 2401/tcp # CVS client/server operations +cvspserver 2401/udp # CVS client/server operations +mysql 3306/tcp # MySQL +mysql 3306/udp # MySQL +rfe 5002/tcp # Radio Free Ethernet +rfe 5002/udp # Actually uses UDP only +cfengine 5308/tcp # CFengine +cfengine 5308/udp # CFengine +bbs 7000/tcp # BBS service +# +# +# Kerberos (Project Athena/MIT) services +# Note that these are for Kerberos v4, and are unofficial. Sites running +# v4 should uncomment these and comment out the v5 entries above. +# +kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp +kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp +kerberos_master 751/udp # Kerberos authentication +kerberos_master 751/tcp # Kerberos authentication +passwd_server 752/udp # Kerberos passwd server +krb_prop 754/tcp # Kerberos slave propagation +krbupdate 760/tcp kreg # Kerberos registration +kpasswd 761/tcp kpwd # Kerberos "passwd" +kpop 1109/tcp # Pop with Kerberos +knetd 2053/tcp # Kerberos de-multiplexor +zephyr-srv 2102/udp # Zephyr server +zephyr-clt 2103/udp # Zephyr serv-hm connection +zephyr-hm 2104/udp # Zephyr hostmanager +eklogin 2105/tcp # Kerberos encrypted rlogin +# +# Unofficial but necessary (for NetBSD) services +# +supfilesrv 871/tcp # SUP server +supfiledbg 1127/tcp # SUP debugging +# +# Datagram Delivery Protocol services +# +rtmp 1/ddp # Routing Table Maintenance Protocol +nbp 2/ddp # Name Binding Protocol +echo 4/ddp # AppleTalk Echo Protocol +zip 6/ddp # Zone Information Protocol +# +# Services added for the Debian GNU/Linux distribution +poppassd 106/tcp # Eudora +poppassd 106/udp # Eudora +mailq 174/tcp # Mailer transport queue for Zmailer +mailq 174/tcp # Mailer transport queue for Zmailer +omirr 808/tcp omirrd # online mirror +omirr 808/udp omirrd # online mirror +rmtcfg 1236/tcp # Gracilis Packeten remote config server +xtel 1313/tcp # french minitel +coda_opcons 1355/udp # Coda opcons (Coda fs) +coda_venus 1363/udp # Coda venus (Coda fs) +coda_auth 1357/udp # Coda auth (Coda fs) +coda_udpsrv 1359/udp # Coda udpsrv (Coda fs) +coda_filesrv 1361/udp # Coda filesrv (Coda fs) +codacon 1423/tcp venus.cmu # Coda Console (Coda fs) +coda_aux1 1431/tcp # coda auxiliary service (Coda fs) +coda_aux1 1431/udp # coda auxiliary service (Coda fs) +coda_aux2 1433/tcp # coda auxiliary service (Coda fs) +coda_aux2 1433/udp # coda auxiliary service (Coda fs) +coda_aux3 1435/tcp # coda auxiliary service (Coda fs) +coda_aux3 1435/udp # coda auxiliary service (Coda fs) +cfinger 2003/tcp # GNU Finger +afbackup 2988/tcp # Afbackup system +afbackup 2988/udp # Afbackup system +icp 3130/tcp # Internet Cache Protocol (Squid) +icp 3130/udp # Internet Cache Protocol (Squid) +postgres 5432/tcp # POSTGRES +postgres 5432/udp # POSTGRES +fax 4557/tcp # FAX transmission service (old) +hylafax 4559/tcp # HylaFAX client-server protocol (new) +noclog 5354/tcp # noclogd with TCP (nocol) +noclog 5354/udp # noclogd with UDP (nocol) +hostmon 5355/tcp # hostmon uses TCP (nocol) +hostmon 5355/udp # hostmon uses TCP (nocol) +ircd 6667/tcp # Internet Relay Chat +ircd 6667/udp # Internet Relay Chat +webcache 8080/tcp # WWW caching service +webcache 8080/udp # WWW caching service +tproxy 8081/tcp # Transparent Proxy +tproxy 8081/udp # Transparent Proxy +mandelspawn 9359/udp mandelbrot # network mandelbrot +amanda 10080/udp # amanda backup services +amandaidx 10082/tcp # amanda backup services +amidxtape 10083/tcp # amanda backup services +isdnlog 20011/tcp # isdn logging system +isdnlog 20011/udp # isdn logging system +vboxd 20012/tcp # voice box system +vboxd 20012/udp # voice box system +binkp 24554/tcp # Binkley +binkp 24554/udp # Binkley +asp 27374/tcp # Address Search Protocol +asp 27374/udp # Address Search Protocol +tfido 60177/tcp # Ifmail +tfido 60177/udp # Ifmail +fido 60179/tcp # Ifmail +fido 60179/udp # Ifmail + +# Local services + diff --git a/fs/skeleton/etc/shadow b/fs/skeleton/etc/shadow new file mode 100644 index 0000000..4941a1a --- /dev/null +++ b/fs/skeleton/etc/shadow @@ -0,0 +1,12 @@ +root::10933:0:99999:7::: +bin:*:10933:0:99999:7::: +daemon:*:10933:0:99999:7::: +adm:*:10933:0:99999:7::: +lp:*:10933:0:99999:7::: +sync:*:10933:0:99999:7::: +shutdown:*:10933:0:99999:7::: +halt:*:10933:0:99999:7::: +uucp:*:10933:0:99999:7::: +operator:*:10933:0:99999:7::: +nobody:*:10933:0:99999:7::: +default::10933:0:99999:7::: diff --git a/fs/skeleton/home/.empty b/fs/skeleton/home/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/lib/.empty b/fs/skeleton/lib/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/mnt/.empty b/fs/skeleton/mnt/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/opt/.empty b/fs/skeleton/opt/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/proc/.empty b/fs/skeleton/proc/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/root/.bash_history b/fs/skeleton/root/.bash_history new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/root/.bash_logout b/fs/skeleton/root/.bash_logout new file mode 100644 index 0000000..77ef1f9 --- /dev/null +++ b/fs/skeleton/root/.bash_logout @@ -0,0 +1,7 @@ +# ~/.bash_logout: executed by bash(1) when login shell exits. + +# when leaving the console clear the screen to increase privacy + +case "`tty`" in + /dev/tty[0-9]*) clear +esac diff --git a/fs/skeleton/root/.bash_profile b/fs/skeleton/root/.bash_profile new file mode 100644 index 0000000..27bf149 --- /dev/null +++ b/fs/skeleton/root/.bash_profile @@ -0,0 +1,15 @@ +# .bash_profile + +export PATH=\ +/bin:\ +/sbin:\ +/usr/bin:\ +/usr/sbin:\ +/usr/bin/X11:\ +/usr/local/bin + +umask 022 + +if [ -f ~/.bashrc ]; then + source ~/.bashrc +fi diff --git a/fs/skeleton/root/.bashrc b/fs/skeleton/root/.bashrc new file mode 100644 index 0000000..d13c8f9 --- /dev/null +++ b/fs/skeleton/root/.bashrc @@ -0,0 +1,48 @@ +# ~/.bashrc: executed by bash(1) for non-login interactive shells. + +export PATH=\ +/bin:\ +/sbin:\ +/usr/bin:\ +/usr/sbin:\ +/usr/bin/X11:\ +/usr/local/bin + +# If running interactively, then: +if [ "$PS1" ]; then + + if [ "$BASH" ]; then + export PS1="[\u@\h \W]\\$ " + else + if [ "`id -u`" -eq 0 ]; then + export PS1='# ' + else + export PS1='$ ' + fi + fi + + export USER=`id -un` + export LOGNAME=$USER + export HOSTNAME=`/bin/hostname` + export HISTSIZE=1000 + export HISTFILESIZE=1000 + export PAGER='/bin/more ' + export EDITOR='/bin/vi' + export INPUTRC=/etc/inputrc + export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile + export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:'; + + ### Some aliases + alias ps2='ps facux ' + alias ps1='ps faxo "%U %t %p %a" ' + alias af='ps af' + alias cls='clear' + alias ll='/bin/ls --color=tty -laFh' + alias ls='/bin/ls --color=tty -F' + alias df='df -h' + alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 ' + #alias bc='bc -l' + alias minicom='minicom -c on' + alias calc='calc -Cd ' + alias bc='calc -Cd ' +fi; diff --git a/fs/skeleton/root/.empty b/fs/skeleton/root/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/sbin/.empty b/fs/skeleton/sbin/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/sys/.empty b/fs/skeleton/sys/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/tmp/.empty b/fs/skeleton/tmp/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/usr/bin/.empty b/fs/skeleton/usr/bin/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/usr/lib/.empty b/fs/skeleton/usr/lib/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/usr/sbin/.empty b/fs/skeleton/usr/sbin/.empty new file mode 100644 index 0000000..e69de29 diff --git a/fs/skeleton/usr/share/udhcpc/default.script b/fs/skeleton/usr/share/udhcpc/default.script new file mode 100755 index 0000000..a52a7f8 --- /dev/null +++ b/fs/skeleton/usr/share/udhcpc/default.script @@ -0,0 +1,39 @@ +#!/bin/sh + +# udhcpc script edited by Tim Riker + +[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 + +RESOLV_CONF="/etc/resolv.conf" +[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" +[ -n "$subnet" ] && NETMASK="netmask $subnet" + +case "$1" in + deconfig) + /sbin/ifconfig $interface 0.0.0.0 + ;; + + renew|bound) + /sbin/ifconfig $interface $ip $BROADCAST $NETMASK + + if [ -n "$router" ] ; then + echo "deleting routers" + while route del default gw 0.0.0.0 dev $interface ; do + : + done + + for i in $router ; do + route add default gw $i dev $interface + done + fi + + echo -n > $RESOLV_CONF + [ -n "$domain" ] && echo search $domain >> $RESOLV_CONF + for i in $dns ; do + echo adding dns $i + echo nameserver $i >> $RESOLV_CONF + done + ;; +esac + +exit 0 diff --git a/fs/skeleton/var/cache b/fs/skeleton/var/cache new file mode 120000 index 0000000..1431b0e --- /dev/null +++ b/fs/skeleton/var/cache @@ -0,0 +1 @@ +../tmp \ No newline at end of file diff --git a/fs/skeleton/var/lib/pcmcia b/fs/skeleton/var/lib/pcmcia new file mode 120000 index 0000000..f1fde8c --- /dev/null +++ b/fs/skeleton/var/lib/pcmcia @@ -0,0 +1 @@ +../../tmp \ No newline at end of file diff --git a/fs/skeleton/var/lock b/fs/skeleton/var/lock new file mode 120000 index 0000000..1431b0e --- /dev/null +++ b/fs/skeleton/var/lock @@ -0,0 +1 @@ +../tmp \ No newline at end of file diff --git a/fs/skeleton/var/log b/fs/skeleton/var/log new file mode 120000 index 0000000..1431b0e --- /dev/null +++ b/fs/skeleton/var/log @@ -0,0 +1 @@ +../tmp \ No newline at end of file diff --git a/fs/skeleton/var/pcmcia b/fs/skeleton/var/pcmcia new file mode 120000 index 0000000..1431b0e --- /dev/null +++ b/fs/skeleton/var/pcmcia @@ -0,0 +1 @@ +../tmp \ No newline at end of file diff --git a/fs/skeleton/var/run b/fs/skeleton/var/run new file mode 120000 index 0000000..1431b0e --- /dev/null +++ b/fs/skeleton/var/run @@ -0,0 +1 @@ +../tmp \ No newline at end of file diff --git a/fs/skeleton/var/spool b/fs/skeleton/var/spool new file mode 120000 index 0000000..1431b0e --- /dev/null +++ b/fs/skeleton/var/spool @@ -0,0 +1 @@ +../tmp \ No newline at end of file diff --git a/fs/skeleton/var/tmp b/fs/skeleton/var/tmp new file mode 120000 index 0000000..1431b0e --- /dev/null +++ b/fs/skeleton/var/tmp @@ -0,0 +1 @@ +../tmp \ No newline at end of file diff --git a/package/busybox/Config.in b/package/busybox/Config.in index 9e957e1..c552e7e 100644 --- a/package/busybox/Config.in +++ b/package/busybox/Config.in @@ -79,12 +79,6 @@ config BR2_PACKAGE_BUSYBOX_SHOW_OTHERS Show packages in menuconfig that are potentially also provided by busybox. -config BR2_PACKAGE_BUSYBOX_SKELETON - bool "use minimal target skeleton" - help - Use a minimal target skeleton. Make sure to select mdev - which is used to populate /dev/. - endif if !BR2_PACKAGE_BUSYBOX # kconfig doesn't support else diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 668861d..51d010e 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -85,10 +85,6 @@ ifeq ($(BR2_PREFER_STATIC_LIB),y) else $(SED) "s/^.*CONFIG_STATIC.*/CONFIG_STATIC=n/;" $(BUSYBOX_DIR)/.config endif -ifeq ($(BR2_PACKAGE_BUSYBOX_SKELETON),y) - # force mdev on - $(SED) "s/^.*CONFIG_MDEV.*/CONFIG_MDEV=y/" $(BUSYBOX_DIR)/.config -endif ifeq ($(BR2_PACKAGE_NETKITBASE),y) # disable usage of inetd if netkit-base package is selected $(SED) "s/^.*CONFIG_INETD.*/CONFIG_INETD=n/;" $(BUSYBOX_DIR)/.config diff --git a/target/generic/Makefile.in b/target/generic/Makefile.in index 9a56f76..1ef2a9d 100644 --- a/target/generic/Makefile.in +++ b/target/generic/Makefile.in @@ -1,10 +1,3 @@ -# Default target skeleton stuff, may be overridden -TARGET_SKELETON=target/generic/target_skeleton - -ifeq ($(BR2_PACKAGE_BUSYBOX_SKELETON),y) -TARGET_SKELETON=target/generic/target_busybox_skeleton -endif - TARGET_GENERIC_HOSTNAME:=$(call qstrip,$(BR2_TARGET_GENERIC_HOSTNAME)) TARGET_GENERIC_ISSUE:=$(call qstrip,$(BR2_TARGET_GENERIC_ISSUE)) TARGET_GENERIC_GETTY:=$(call qstrip,$(BR2_TARGET_GENERIC_GETTY_PORT)) diff --git a/target/generic/target_busybox_skeleton/dev/.empty b/target/generic/target_busybox_skeleton/dev/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_busybox_skeleton/etc/TZ b/target/generic/target_busybox_skeleton/etc/TZ deleted file mode 100644 index 9fcb2a3..0000000 --- a/target/generic/target_busybox_skeleton/etc/TZ +++ /dev/null @@ -1 +0,0 @@ -MST7MDT diff --git a/target/generic/target_busybox_skeleton/etc/fstab b/target/generic/target_busybox_skeleton/etc/fstab deleted file mode 100644 index 87d9da0..0000000 --- a/target/generic/target_busybox_skeleton/etc/fstab +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/fstab: static file system information. -# -# -/dev/root / ext2 rw,noauto 0 1 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 -tmpfs /tmp tmpfs defaults 0 0 -sysfs /sys sysfs defaults 0 0 diff --git a/target/generic/target_busybox_skeleton/etc/group b/target/generic/target_busybox_skeleton/etc/group deleted file mode 100644 index f78c22c..0000000 --- a/target/generic/target_busybox_skeleton/etc/group +++ /dev/null @@ -1,16 +0,0 @@ -root:x:0: -daemon:x:1: -bin:x:2: -sys:x:3: -adm:x:4: -tty:x:5: -disk:x:6: -wheel:x:10:root -utmp:x:43: -staff:x:50: -haldaemon:x:68: -dbus:x:81: -nobody:x:99: -nogroup:x:99: -users:x:100: -default:x:1000: diff --git a/target/generic/target_busybox_skeleton/etc/hostname b/target/generic/target_busybox_skeleton/etc/hostname deleted file mode 100644 index 5b26b35..0000000 --- a/target/generic/target_busybox_skeleton/etc/hostname +++ /dev/null @@ -1 +0,0 @@ -buildroot diff --git a/target/generic/target_busybox_skeleton/etc/hosts b/target/generic/target_busybox_skeleton/etc/hosts deleted file mode 100644 index ba712fe..0000000 --- a/target/generic/target_busybox_skeleton/etc/hosts +++ /dev/null @@ -1 +0,0 @@ -127.0.0.1 localhost diff --git a/target/generic/target_busybox_skeleton/etc/init.d/S20urandom b/target/generic/target_busybox_skeleton/etc/init.d/S20urandom deleted file mode 100755 index f73cea5..0000000 --- a/target/generic/target_busybox_skeleton/etc/init.d/S20urandom +++ /dev/null @@ -1,54 +0,0 @@ -#! /bin/sh -# -# urandom This script saves the random seed between reboots. -# It is called from the boot, halt and reboot scripts. -# -# Version: @(#)urandom 1.33 22-Jun-1998 miquels at cistron.nl -# - -[ -c /dev/urandom ] || exit 0 -#. /etc/default/rcS - -case "$1" in - start|"") - if [ "$VERBOSE" != no ] - then - echo -n "Initializing random number generator... " - fi - # Load and then save 512 bytes, - # which is the size of the entropy pool - if [ -f /etc/random-seed ] - then - cat /etc/random-seed >/dev/urandom - fi - # check for read only file system - if ! touch /etc/random-seed 2>/dev/null - then - echo "read-only file system detected...done" - exit - fi - rm -f /etc/random-seed - umask 077 - dd if=/dev/urandom of=/etc/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom start: failed." - umask 022 - [ "$VERBOSE" != no ] && echo "done." - ;; - stop) - if ! touch /etc/random-seed 2>/dev/null - then - exit - fi - # Carry a random seed from shut-down to start-up; - # see documentation in linux/drivers/char/random.c - [ "$VERBOSE" != no ] && echo -n "Saving random seed... " - umask 077 - dd if=/dev/urandom of=/etc/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom stop: failed." - [ "$VERBOSE" != no ] && echo "done." - ;; - *) - echo "Usage: urandom {start|stop}" >&2 - exit 1 - ;; -esac diff --git a/target/generic/target_busybox_skeleton/etc/init.d/S40network b/target/generic/target_busybox_skeleton/etc/init.d/S40network deleted file mode 100755 index ad6d250..0000000 --- a/target/generic/target_busybox_skeleton/etc/init.d/S40network +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# Start the network.... -# - -case "$1" in - start) - echo "Starting network..." - /sbin/ifup -a - ;; - stop) - echo -n "Stopping network..." - /sbin/ifdown -a - ;; - restart|reload) - "$0" stop - "$0" start - ;; - *) - echo $"Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? - diff --git a/target/generic/target_busybox_skeleton/etc/init.d/rcS b/target/generic/target_busybox_skeleton/etc/init.d/rcS deleted file mode 100755 index de41153..0000000 --- a/target/generic/target_busybox_skeleton/etc/init.d/rcS +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - - -# Start all init scripts in /etc/init.d -# executing them in numerical order. -# -for i in /etc/init.d/S??* ;do - - # Ignore dangling symlinks (if any). - [ ! -f "$i" ] && continue - - case "$i" in - *.sh) - # Source shell script for speed. - ( - trap - INT QUIT TSTP - set start - . $i - ) - ;; - *) - # No sh extension, so fork subprocess. - $i start - ;; - esac -done - diff --git a/target/generic/target_busybox_skeleton/etc/inittab b/target/generic/target_busybox_skeleton/etc/inittab deleted file mode 100644 index bd3912b..0000000 --- a/target/generic/target_busybox_skeleton/etc/inittab +++ /dev/null @@ -1,51 +0,0 @@ -# /etc/inittab -# -# Copyright (C) 2001 Erik Andersen -# -# Note: BusyBox init doesn't support runlevels. The runlevels field is -# completely ignored by BusyBox init. If you want runlevels, use -# sysvinit. -# -# Format for each entry: ::: -# -# id == tty to run on, or empty for /dev/console -# runlevels == ignored -# action == one of sysinit, respawn, askfirst, wait, and once -# process == program to run - -# Startup the system -::sysinit:/bin/mount -t proc none /proc -::sysinit:/bin/mount -t sysfs none /sys -::sysinit:/bin/mount -t tmpfs -o size=64k,mode=0755 none /dev -::sysinit:/bin/mkdir /dev/pts -::sysinit:/bin/mount -t devpts devpts /dev/pts -::sysinit:/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug -::sysinit:/sbin/mdev -s -::sysinit:/bin/mount -o remount,rw / -::sysinit:/bin/mount -a -::sysinit:/bin/hostname -F /etc/hostname -# now run any rc scripts -::sysinit:/etc/init.d/rcS - -# Set up a couple of getty's -tty1::respawn:/sbin/getty 38400 tty1 -tty2::respawn:/sbin/getty 38400 tty2 - -# Put a getty on the serial port -#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL - -# Logging junk -null::sysinit:/bin/touch /var/log/messages -null::respawn:/sbin/syslogd -n -null::respawn:/sbin/klogd -n -tty3::respawn:/usr/bin/tail -f /var/log/messages - -# Stuff to do for the 3-finger salute -::ctrlaltdel:/sbin/reboot - -# Stuff to do before rebooting -null::shutdown:/usr/bin/killall klogd -null::shutdown:/usr/bin/killall syslogd -null::shutdown:/bin/umount -a -r -null::shutdown:/sbin/swapoff -a - diff --git a/target/generic/target_busybox_skeleton/etc/inputrc b/target/generic/target_busybox_skeleton/etc/inputrc deleted file mode 100644 index 2f1cb60..0000000 --- a/target/generic/target_busybox_skeleton/etc/inputrc +++ /dev/null @@ -1,44 +0,0 @@ -# /etc/inputrc - global inputrc for libreadline -# See readline(3readline) and `info readline' for more information. - -# Be 8 bit clean. -set input-meta on -set output-meta on -set bell-style visible - -# To allow the use of 8bit-characters like the german umlauts, comment out -# the line below. However this makes the meta key not work as a meta key, -# which is annoying to those which don't need to type in 8-bit characters. - -# set convert-meta off - -"\e0d": backward-word -"\e0c": forward-word -"\e[h": beginning-of-line -"\e[f": end-of-line -"\e[1~": beginning-of-line -"\e[4~": end-of-line -#"\e[5~": beginning-of-history -#"\e[6~": end-of-history -"\e[3~": delete-char -"\e[2~": quoted-insert - -# Common standard keypad and cursor -# (codes courtsey Werner Fink, ) -#"\e[1~": history-search-backward -"\e[2~": yank -"\e[3~": delete-char -#"\e[4~": set-mark -"\e[5~": history-search-backward -"\e[6~": history-search-forward -# Normal keypad and cursor of xterm -"\e[F": end-of-line -"\e[H": beginning-of-line -# Application keypad and cursor of xterm -"\eOA": previous-history -"\eOC": forward-char -"\eOB": next-history -"\eOD": backward-char -"\eOF": end-of-line -"\eOH": beginning-of-line - diff --git a/target/generic/target_busybox_skeleton/etc/issue b/target/generic/target_busybox_skeleton/etc/issue deleted file mode 100644 index 90f1779..0000000 --- a/target/generic/target_busybox_skeleton/etc/issue +++ /dev/null @@ -1,3 +0,0 @@ - -Welcome to Buildroot - diff --git a/target/generic/target_busybox_skeleton/etc/mtab b/target/generic/target_busybox_skeleton/etc/mtab deleted file mode 120000 index e1c2045..0000000 --- a/target/generic/target_busybox_skeleton/etc/mtab +++ /dev/null @@ -1 +0,0 @@ -../proc/mounts \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/etc/network/interfaces b/target/generic/target_busybox_skeleton/etc/network/interfaces deleted file mode 100644 index 218b82c..0000000 --- a/target/generic/target_busybox_skeleton/etc/network/interfaces +++ /dev/null @@ -1,4 +0,0 @@ -# Configure Loopback -auto lo -iface lo inet loopback - diff --git a/target/generic/target_busybox_skeleton/etc/passwd b/target/generic/target_busybox_skeleton/etc/passwd deleted file mode 100644 index 377d4df..0000000 --- a/target/generic/target_busybox_skeleton/etc/passwd +++ /dev/null @@ -1,15 +0,0 @@ -root:x:0:0:root:/root:/bin/sh -daemon:x:1:1:daemon:/usr/sbin:/bin/sh -bin:x:2:2:bin:/bin:/bin/sh -sys:x:3:3:sys:/dev:/bin/sh -sync:x:4:100:sync:/bin:/bin/sync -mail:x:8:8:mail:/var/spool/mail:/bin/sh -proxy:x:13:13:proxy:/bin:/bin/sh -www-data:x:33:33:www-data:/var/www:/bin/sh -backup:x:34:34:backup:/var/backups:/bin/sh -operator:x:37:37:Operator:/var:/bin/sh -haldaemon:x:68:68:hald:/:/bin/sh -dbus:x:81:81:dbus:/var/run/dbus:/bin/sh -nobody:x:99:99:nobody:/home:/bin/sh -sshd:x:103:99:Operator:/var:/bin/sh -default:x:1000:1000:Default non-root user:/home/default:/bin/sh diff --git a/target/generic/target_busybox_skeleton/etc/profile b/target/generic/target_busybox_skeleton/etc/profile deleted file mode 100644 index cc2e0be..0000000 --- a/target/generic/target_busybox_skeleton/etc/profile +++ /dev/null @@ -1,48 +0,0 @@ -# ~/.bashrc: executed by bash(1) for non-login interactive shells. - -export PATH=\ -/bin:\ -/sbin:\ -/usr/bin:\ -/usr/sbin:\ -/usr/bin/X11:\ -/usr/local/bin - -# If running interactively, then: -if [ "$PS1" ]; then - - if [ "$BASH" ]; then - export PS1="[\u@\h \W]\\$ " - alias ll='/bin/ls --color=tty -laFh' - alias ls='/bin/ls --color=tty -F' - export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:'; - else - if [ "`id -u`" -eq 0 ]; then - export PS1='# ' - else - export PS1='$ ' - fi - fi - - export USER=`id -un` - export LOGNAME=$USER - export HOSTNAME=`/bin/hostname` - export HISTSIZE=1000 - export HISTFILESIZE=1000 - export PAGER='/bin/more ' - export EDITOR='/bin/vi' - export INPUTRC=/etc/inputrc - export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile - - ### Some aliases - alias ps2='ps facux ' - alias ps1='ps faxo "%U %t %p %a" ' - alias af='ps af' - alias cls='clear' - alias df='df -h' - alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 ' - #alias bc='bc -l' - alias minicom='minicom -c on' - alias calc='calc -Cd ' - alias bc='calc -Cd ' -fi; diff --git a/target/generic/target_busybox_skeleton/etc/protocols b/target/generic/target_busybox_skeleton/etc/protocols deleted file mode 100644 index 1ac8a40..0000000 --- a/target/generic/target_busybox_skeleton/etc/protocols +++ /dev/null @@ -1,31 +0,0 @@ -# /etc/protocols: -# $Id: protocols,v 1.1 2004/10/09 02:49:18 andersen Exp $ -# -# Internet (IP) protocols -# -# from: @(#)protocols 5.1 (Berkeley) 4/17/89 -# -# Updated for NetBSD based on RFC 1340, Assigned Numbers (July 1992). - -ip 0 IP # internet protocol, pseudo protocol number -icmp 1 ICMP # internet control message protocol -igmp 2 IGMP # Internet Group Management -ggp 3 GGP # gateway-gateway protocol -ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') -st 5 ST # ST datagram mode -tcp 6 TCP # transmission control protocol -egp 8 EGP # exterior gateway protocol -pup 12 PUP # PARC universal packet protocol -udp 17 UDP # user datagram protocol -hmp 20 HMP # host monitoring protocol -xns-idp 22 XNS-IDP # Xerox NS IDP -rdp 27 RDP # "reliable datagram" protocol -iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 -xtp 36 XTP # Xpress Tranfer Protocol -ddp 37 DDP # Datagram Delivery Protocol -idpr-cmtp 39 IDPR-CMTP # IDPR Control Message Transport -rspf 73 RSPF #Radio Shortest Path First. -vmtp 81 VMTP # Versatile Message Transport -ospf 89 OSPFIGP # Open Shortest Path First IGP -ipip 94 IPIP # Yet Another IP encapsulation -encap 98 ENCAP # Yet Another IP encapsulation diff --git a/target/generic/target_busybox_skeleton/etc/random-seed b/target/generic/target_busybox_skeleton/etc/random-seed deleted file mode 100644 index f26038adc5d057a0b9d6ce5d3cda02ccb4a4d12e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 512 zcmV+b0{{Iq0UOB42;n4xpAvJIL$H4mg*!B4&9jh)7+B2j-fX7o at K*bzj;pJ$FwoQzl&MuZ^Wy zrYS)x9vq<)#e~&1uB|_ITW-fntEg1^KXs3>vvgL7?_kg!+6=fg{S7mwkr$#pmPZ13liCc zi|M+im&71p*p+Z|7f(m-aedNFtEezFN-nZHytAhV~}?OM$-f$(%cG(ioV{==Ub4mfZP}OaJJ7 z25tvCcku=>;L?}O-dvK9`}<^gmg@IrnfQm#P>RRF|C9c;GDgEg_bw26{dkIVt1`{` z3#ol{Q_FL91TBD~{uZnRRZ(Otf!KXM&;q)8B The Registered Ports are not controlled by the IANA and on most systems -#> can be used by ordinary user processes or programs executed by ordinary -#> users. -# -#> Ports are used in the TCP [45,106] to name the ends of logical -#> connections which carry long term conversations. For the purpose of -#> providing services to unknown callers, a service contact port is -#> defined. This list specifies the port used by the server process as its -#> contact port. While the IANA can not control uses of these ports it -#> does register or list uses of these ports as a convienence to the -#> community. -# -nfsdstatus 1110/tcp -nfsd-keepalive 1110/udp - -ingreslock 1524/tcp -ingreslock 1524/udp -prospero-np 1525/tcp # Prospero non-privileged -prospero-np 1525/udp -datametrics 1645/tcp old-radius # datametrics / old radius entry -datametrics 1645/udp old-radius # datametrics / old radius entry -sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entry -sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entry -radius 1812/tcp # Radius -radius 1812/udp # Radius -radacct 1813/tcp # Radius Accounting -radacct 1813/udp # Radius Accounting -nfsd 2049/tcp nfs -nfsd 2049/udp nfs -cvspserver 2401/tcp # CVS client/server operations -cvspserver 2401/udp # CVS client/server operations -mysql 3306/tcp # MySQL -mysql 3306/udp # MySQL -rfe 5002/tcp # Radio Free Ethernet -rfe 5002/udp # Actually uses UDP only -cfengine 5308/tcp # CFengine -cfengine 5308/udp # CFengine -bbs 7000/tcp # BBS service -# -# -# Kerberos (Project Athena/MIT) services -# Note that these are for Kerberos v4, and are unofficial. Sites running -# v4 should uncomment these and comment out the v5 entries above. -# -kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp -kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp -kerberos_master 751/udp # Kerberos authentication -kerberos_master 751/tcp # Kerberos authentication -passwd_server 752/udp # Kerberos passwd server -krb_prop 754/tcp # Kerberos slave propagation -krbupdate 760/tcp kreg # Kerberos registration -kpasswd 761/tcp kpwd # Kerberos "passwd" -kpop 1109/tcp # Pop with Kerberos -knetd 2053/tcp # Kerberos de-multiplexor -zephyr-srv 2102/udp # Zephyr server -zephyr-clt 2103/udp # Zephyr serv-hm connection -zephyr-hm 2104/udp # Zephyr hostmanager -eklogin 2105/tcp # Kerberos encrypted rlogin -# -# Unofficial but necessary (for NetBSD) services -# -supfilesrv 871/tcp # SUP server -supfiledbg 1127/tcp # SUP debugging -# -# Datagram Delivery Protocol services -# -rtmp 1/ddp # Routing Table Maintenance Protocol -nbp 2/ddp # Name Binding Protocol -echo 4/ddp # AppleTalk Echo Protocol -zip 6/ddp # Zone Information Protocol -# -# Services added for the Debian GNU/Linux distribution -poppassd 106/tcp # Eudora -poppassd 106/udp # Eudora -mailq 174/tcp # Mailer transport queue for Zmailer -mailq 174/tcp # Mailer transport queue for Zmailer -omirr 808/tcp omirrd # online mirror -omirr 808/udp omirrd # online mirror -rmtcfg 1236/tcp # Gracilis Packeten remote config server -xtel 1313/tcp # french minitel -coda_opcons 1355/udp # Coda opcons (Coda fs) -coda_venus 1363/udp # Coda venus (Coda fs) -coda_auth 1357/udp # Coda auth (Coda fs) -coda_udpsrv 1359/udp # Coda udpsrv (Coda fs) -coda_filesrv 1361/udp # Coda filesrv (Coda fs) -codacon 1423/tcp venus.cmu # Coda Console (Coda fs) -coda_aux1 1431/tcp # coda auxiliary service (Coda fs) -coda_aux1 1431/udp # coda auxiliary service (Coda fs) -coda_aux2 1433/tcp # coda auxiliary service (Coda fs) -coda_aux2 1433/udp # coda auxiliary service (Coda fs) -coda_aux3 1435/tcp # coda auxiliary service (Coda fs) -coda_aux3 1435/udp # coda auxiliary service (Coda fs) -cfinger 2003/tcp # GNU Finger -afbackup 2988/tcp # Afbackup system -afbackup 2988/udp # Afbackup system -icp 3130/tcp # Internet Cache Protocol (Squid) -icp 3130/udp # Internet Cache Protocol (Squid) -postgres 5432/tcp # POSTGRES -postgres 5432/udp # POSTGRES -fax 4557/tcp # FAX transmission service (old) -hylafax 4559/tcp # HylaFAX client-server protocol (new) -noclog 5354/tcp # noclogd with TCP (nocol) -noclog 5354/udp # noclogd with UDP (nocol) -hostmon 5355/tcp # hostmon uses TCP (nocol) -hostmon 5355/udp # hostmon uses TCP (nocol) -ircd 6667/tcp # Internet Relay Chat -ircd 6667/udp # Internet Relay Chat -webcache 8080/tcp # WWW caching service -webcache 8080/udp # WWW caching service -tproxy 8081/tcp # Transparent Proxy -tproxy 8081/udp # Transparent Proxy -mandelspawn 9359/udp mandelbrot # network mandelbrot -amanda 10080/udp # amanda backup services -amandaidx 10082/tcp # amanda backup services -amidxtape 10083/tcp # amanda backup services -isdnlog 20011/tcp # isdn logging system -isdnlog 20011/udp # isdn logging system -vboxd 20012/tcp # voice box system -vboxd 20012/udp # voice box system -binkp 24554/tcp # Binkley -binkp 24554/udp # Binkley -asp 27374/tcp # Address Search Protocol -asp 27374/udp # Address Search Protocol -tfido 60177/tcp # Ifmail -tfido 60177/udp # Ifmail -fido 60179/tcp # Ifmail -fido 60179/udp # Ifmail - -# Local services - diff --git a/target/generic/target_busybox_skeleton/etc/shadow b/target/generic/target_busybox_skeleton/etc/shadow deleted file mode 100644 index 4941a1a..0000000 --- a/target/generic/target_busybox_skeleton/etc/shadow +++ /dev/null @@ -1,12 +0,0 @@ -root::10933:0:99999:7::: -bin:*:10933:0:99999:7::: -daemon:*:10933:0:99999:7::: -adm:*:10933:0:99999:7::: -lp:*:10933:0:99999:7::: -sync:*:10933:0:99999:7::: -shutdown:*:10933:0:99999:7::: -halt:*:10933:0:99999:7::: -uucp:*:10933:0:99999:7::: -operator:*:10933:0:99999:7::: -nobody:*:10933:0:99999:7::: -default::10933:0:99999:7::: diff --git a/target/generic/target_busybox_skeleton/proc/.empty b/target/generic/target_busybox_skeleton/proc/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_busybox_skeleton/root/.empty b/target/generic/target_busybox_skeleton/root/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_busybox_skeleton/sys/.empty b/target/generic/target_busybox_skeleton/sys/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_busybox_skeleton/tmp/.empty b/target/generic/target_busybox_skeleton/tmp/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_busybox_skeleton/usr/sbin/.empty b/target/generic/target_busybox_skeleton/usr/sbin/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_busybox_skeleton/var/cache b/target/generic/target_busybox_skeleton/var/cache deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_busybox_skeleton/var/cache +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/var/lib/pcmcia b/target/generic/target_busybox_skeleton/var/lib/pcmcia deleted file mode 120000 index f1fde8c..0000000 --- a/target/generic/target_busybox_skeleton/var/lib/pcmcia +++ /dev/null @@ -1 +0,0 @@ -../../tmp \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/var/lock b/target/generic/target_busybox_skeleton/var/lock deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_busybox_skeleton/var/lock +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/var/log b/target/generic/target_busybox_skeleton/var/log deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_busybox_skeleton/var/log +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/var/pcmcia b/target/generic/target_busybox_skeleton/var/pcmcia deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_busybox_skeleton/var/pcmcia +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/var/run b/target/generic/target_busybox_skeleton/var/run deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_busybox_skeleton/var/run +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/var/spool b/target/generic/target_busybox_skeleton/var/spool deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_busybox_skeleton/var/spool +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_busybox_skeleton/var/tmp b/target/generic/target_busybox_skeleton/var/tmp deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_busybox_skeleton/var/tmp +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/bin/.empty b/target/generic/target_skeleton/bin/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/dev/log b/target/generic/target_skeleton/dev/log deleted file mode 120000 index d96b3b1..0000000 --- a/target/generic/target_skeleton/dev/log +++ /dev/null @@ -1 +0,0 @@ -../tmp/log \ No newline at end of file diff --git a/target/generic/target_skeleton/dev/pts/.empty b/target/generic/target_skeleton/dev/pts/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/etc/TZ b/target/generic/target_skeleton/etc/TZ deleted file mode 100644 index 9fcb2a3..0000000 --- a/target/generic/target_skeleton/etc/TZ +++ /dev/null @@ -1 +0,0 @@ -MST7MDT diff --git a/target/generic/target_skeleton/etc/fstab b/target/generic/target_skeleton/etc/fstab deleted file mode 100644 index 87d9da0..0000000 --- a/target/generic/target_skeleton/etc/fstab +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/fstab: static file system information. -# -# -/dev/root / ext2 rw,noauto 0 1 -proc /proc proc defaults 0 0 -devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 -tmpfs /tmp tmpfs defaults 0 0 -sysfs /sys sysfs defaults 0 0 diff --git a/target/generic/target_skeleton/etc/group b/target/generic/target_skeleton/etc/group deleted file mode 100644 index c600be0..0000000 --- a/target/generic/target_skeleton/etc/group +++ /dev/null @@ -1,17 +0,0 @@ -root:x:0: -daemon:x:1: -bin:x:2: -sys:x:3: -adm:x:4: -tty:x:5: -disk:x:6: -wheel:x:10:root -utmp:x:43: -staff:x:50: -haldaemon:x:68: -dbus:x:81: -netdev:x:82: -nobody:x:99: -nogroup:x:99: -users:x:100: -default:x:1000: diff --git a/target/generic/target_skeleton/etc/hostname b/target/generic/target_skeleton/etc/hostname deleted file mode 100644 index 5b26b35..0000000 --- a/target/generic/target_skeleton/etc/hostname +++ /dev/null @@ -1 +0,0 @@ -buildroot diff --git a/target/generic/target_skeleton/etc/hosts b/target/generic/target_skeleton/etc/hosts deleted file mode 100644 index ba712fe..0000000 --- a/target/generic/target_skeleton/etc/hosts +++ /dev/null @@ -1 +0,0 @@ -127.0.0.1 localhost diff --git a/target/generic/target_skeleton/etc/init.d/S20urandom b/target/generic/target_skeleton/etc/init.d/S20urandom deleted file mode 100755 index f73cea5..0000000 --- a/target/generic/target_skeleton/etc/init.d/S20urandom +++ /dev/null @@ -1,54 +0,0 @@ -#! /bin/sh -# -# urandom This script saves the random seed between reboots. -# It is called from the boot, halt and reboot scripts. -# -# Version: @(#)urandom 1.33 22-Jun-1998 miquels at cistron.nl -# - -[ -c /dev/urandom ] || exit 0 -#. /etc/default/rcS - -case "$1" in - start|"") - if [ "$VERBOSE" != no ] - then - echo -n "Initializing random number generator... " - fi - # Load and then save 512 bytes, - # which is the size of the entropy pool - if [ -f /etc/random-seed ] - then - cat /etc/random-seed >/dev/urandom - fi - # check for read only file system - if ! touch /etc/random-seed 2>/dev/null - then - echo "read-only file system detected...done" - exit - fi - rm -f /etc/random-seed - umask 077 - dd if=/dev/urandom of=/etc/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom start: failed." - umask 022 - [ "$VERBOSE" != no ] && echo "done." - ;; - stop) - if ! touch /etc/random-seed 2>/dev/null - then - exit - fi - # Carry a random seed from shut-down to start-up; - # see documentation in linux/drivers/char/random.c - [ "$VERBOSE" != no ] && echo -n "Saving random seed... " - umask 077 - dd if=/dev/urandom of=/etc/random-seed count=1 \ - >/dev/null 2>&1 || echo "urandom stop: failed." - [ "$VERBOSE" != no ] && echo "done." - ;; - *) - echo "Usage: urandom {start|stop}" >&2 - exit 1 - ;; -esac diff --git a/target/generic/target_skeleton/etc/init.d/S40network b/target/generic/target_skeleton/etc/init.d/S40network deleted file mode 100755 index ad6d250..0000000 --- a/target/generic/target_skeleton/etc/init.d/S40network +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# Start the network.... -# - -case "$1" in - start) - echo "Starting network..." - /sbin/ifup -a - ;; - stop) - echo -n "Stopping network..." - /sbin/ifdown -a - ;; - restart|reload) - "$0" stop - "$0" start - ;; - *) - echo $"Usage: $0 {start|stop|restart}" - exit 1 -esac - -exit $? - diff --git a/target/generic/target_skeleton/etc/init.d/rcS b/target/generic/target_skeleton/etc/init.d/rcS deleted file mode 100755 index de41153..0000000 --- a/target/generic/target_skeleton/etc/init.d/rcS +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh - - -# Start all init scripts in /etc/init.d -# executing them in numerical order. -# -for i in /etc/init.d/S??* ;do - - # Ignore dangling symlinks (if any). - [ ! -f "$i" ] && continue - - case "$i" in - *.sh) - # Source shell script for speed. - ( - trap - INT QUIT TSTP - set start - . $i - ) - ;; - *) - # No sh extension, so fork subprocess. - $i start - ;; - esac -done - diff --git a/target/generic/target_skeleton/etc/inittab b/target/generic/target_skeleton/etc/inittab deleted file mode 100644 index 4be14b8..0000000 --- a/target/generic/target_skeleton/etc/inittab +++ /dev/null @@ -1,46 +0,0 @@ -# /etc/inittab -# -# Copyright (C) 2001 Erik Andersen -# -# Note: BusyBox init doesn't support runlevels. The runlevels field is -# completely ignored by BusyBox init. If you want runlevels, use -# sysvinit. -# -# Format for each entry: ::: -# -# id == tty to run on, or empty for /dev/console -# runlevels == ignored -# action == one of sysinit, respawn, askfirst, wait, and once -# process == program to run - -# Startup the system -null::sysinit:/bin/mount -o remount,rw / -null::sysinit:/bin/mount -t proc proc /proc -null::sysinit:/bin/mkdir -p /dev/pts -null::sysinit:/bin/mount -a -null::sysinit:/bin/hostname -F /etc/hostname -# now run any rc scripts -::sysinit:/etc/init.d/rcS - -# Set up a couple of getty's -tty1::respawn:/sbin/getty 38400 tty1 -tty2::respawn:/sbin/getty 38400 tty2 - -# Put a getty on the serial port -#ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL - -# Logging junk -null::sysinit:/bin/touch /var/log/messages -null::respawn:/sbin/syslogd -n -m 0 -null::respawn:/sbin/klogd -n -tty3::respawn:/usr/bin/tail -f /var/log/messages - -# Stuff to do for the 3-finger salute -::ctrlaltdel:/sbin/reboot - -# Stuff to do before rebooting -null::shutdown:/usr/bin/killall klogd -null::shutdown:/usr/bin/killall syslogd -null::shutdown:/bin/umount -a -r -null::shutdown:/sbin/swapoff -a - diff --git a/target/generic/target_skeleton/etc/inputrc b/target/generic/target_skeleton/etc/inputrc deleted file mode 100644 index 2f1cb60..0000000 --- a/target/generic/target_skeleton/etc/inputrc +++ /dev/null @@ -1,44 +0,0 @@ -# /etc/inputrc - global inputrc for libreadline -# See readline(3readline) and `info readline' for more information. - -# Be 8 bit clean. -set input-meta on -set output-meta on -set bell-style visible - -# To allow the use of 8bit-characters like the german umlauts, comment out -# the line below. However this makes the meta key not work as a meta key, -# which is annoying to those which don't need to type in 8-bit characters. - -# set convert-meta off - -"\e0d": backward-word -"\e0c": forward-word -"\e[h": beginning-of-line -"\e[f": end-of-line -"\e[1~": beginning-of-line -"\e[4~": end-of-line -#"\e[5~": beginning-of-history -#"\e[6~": end-of-history -"\e[3~": delete-char -"\e[2~": quoted-insert - -# Common standard keypad and cursor -# (codes courtsey Werner Fink, ) -#"\e[1~": history-search-backward -"\e[2~": yank -"\e[3~": delete-char -#"\e[4~": set-mark -"\e[5~": history-search-backward -"\e[6~": history-search-forward -# Normal keypad and cursor of xterm -"\e[F": end-of-line -"\e[H": beginning-of-line -# Application keypad and cursor of xterm -"\eOA": previous-history -"\eOC": forward-char -"\eOB": next-history -"\eOD": backward-char -"\eOF": end-of-line -"\eOH": beginning-of-line - diff --git a/target/generic/target_skeleton/etc/issue b/target/generic/target_skeleton/etc/issue deleted file mode 100644 index 90f1779..0000000 --- a/target/generic/target_skeleton/etc/issue +++ /dev/null @@ -1,3 +0,0 @@ - -Welcome to Buildroot - diff --git a/target/generic/target_skeleton/etc/ld.so.conf.d/.empty b/target/generic/target_skeleton/etc/ld.so.conf.d/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/etc/mtab b/target/generic/target_skeleton/etc/mtab deleted file mode 120000 index e1c2045..0000000 --- a/target/generic/target_skeleton/etc/mtab +++ /dev/null @@ -1 +0,0 @@ -../proc/mounts \ No newline at end of file diff --git a/target/generic/target_skeleton/etc/network/interfaces b/target/generic/target_skeleton/etc/network/interfaces deleted file mode 100644 index 218b82c..0000000 --- a/target/generic/target_skeleton/etc/network/interfaces +++ /dev/null @@ -1,4 +0,0 @@ -# Configure Loopback -auto lo -iface lo inet loopback - diff --git a/target/generic/target_skeleton/etc/passwd b/target/generic/target_skeleton/etc/passwd deleted file mode 100644 index 377d4df..0000000 --- a/target/generic/target_skeleton/etc/passwd +++ /dev/null @@ -1,15 +0,0 @@ -root:x:0:0:root:/root:/bin/sh -daemon:x:1:1:daemon:/usr/sbin:/bin/sh -bin:x:2:2:bin:/bin:/bin/sh -sys:x:3:3:sys:/dev:/bin/sh -sync:x:4:100:sync:/bin:/bin/sync -mail:x:8:8:mail:/var/spool/mail:/bin/sh -proxy:x:13:13:proxy:/bin:/bin/sh -www-data:x:33:33:www-data:/var/www:/bin/sh -backup:x:34:34:backup:/var/backups:/bin/sh -operator:x:37:37:Operator:/var:/bin/sh -haldaemon:x:68:68:hald:/:/bin/sh -dbus:x:81:81:dbus:/var/run/dbus:/bin/sh -nobody:x:99:99:nobody:/home:/bin/sh -sshd:x:103:99:Operator:/var:/bin/sh -default:x:1000:1000:Default non-root user:/home/default:/bin/sh diff --git a/target/generic/target_skeleton/etc/profile b/target/generic/target_skeleton/etc/profile deleted file mode 100644 index cc2e0be..0000000 --- a/target/generic/target_skeleton/etc/profile +++ /dev/null @@ -1,48 +0,0 @@ -# ~/.bashrc: executed by bash(1) for non-login interactive shells. - -export PATH=\ -/bin:\ -/sbin:\ -/usr/bin:\ -/usr/sbin:\ -/usr/bin/X11:\ -/usr/local/bin - -# If running interactively, then: -if [ "$PS1" ]; then - - if [ "$BASH" ]; then - export PS1="[\u@\h \W]\\$ " - alias ll='/bin/ls --color=tty -laFh' - alias ls='/bin/ls --color=tty -F' - export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:'; - else - if [ "`id -u`" -eq 0 ]; then - export PS1='# ' - else - export PS1='$ ' - fi - fi - - export USER=`id -un` - export LOGNAME=$USER - export HOSTNAME=`/bin/hostname` - export HISTSIZE=1000 - export HISTFILESIZE=1000 - export PAGER='/bin/more ' - export EDITOR='/bin/vi' - export INPUTRC=/etc/inputrc - export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile - - ### Some aliases - alias ps2='ps facux ' - alias ps1='ps faxo "%U %t %p %a" ' - alias af='ps af' - alias cls='clear' - alias df='df -h' - alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 ' - #alias bc='bc -l' - alias minicom='minicom -c on' - alias calc='calc -Cd ' - alias bc='calc -Cd ' -fi; diff --git a/target/generic/target_skeleton/etc/protocols b/target/generic/target_skeleton/etc/protocols deleted file mode 100644 index 1ac8a40..0000000 --- a/target/generic/target_skeleton/etc/protocols +++ /dev/null @@ -1,31 +0,0 @@ -# /etc/protocols: -# $Id: protocols,v 1.1 2004/10/09 02:49:18 andersen Exp $ -# -# Internet (IP) protocols -# -# from: @(#)protocols 5.1 (Berkeley) 4/17/89 -# -# Updated for NetBSD based on RFC 1340, Assigned Numbers (July 1992). - -ip 0 IP # internet protocol, pseudo protocol number -icmp 1 ICMP # internet control message protocol -igmp 2 IGMP # Internet Group Management -ggp 3 GGP # gateway-gateway protocol -ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') -st 5 ST # ST datagram mode -tcp 6 TCP # transmission control protocol -egp 8 EGP # exterior gateway protocol -pup 12 PUP # PARC universal packet protocol -udp 17 UDP # user datagram protocol -hmp 20 HMP # host monitoring protocol -xns-idp 22 XNS-IDP # Xerox NS IDP -rdp 27 RDP # "reliable datagram" protocol -iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 -xtp 36 XTP # Xpress Tranfer Protocol -ddp 37 DDP # Datagram Delivery Protocol -idpr-cmtp 39 IDPR-CMTP # IDPR Control Message Transport -rspf 73 RSPF #Radio Shortest Path First. -vmtp 81 VMTP # Versatile Message Transport -ospf 89 OSPFIGP # Open Shortest Path First IGP -ipip 94 IPIP # Yet Another IP encapsulation -encap 98 ENCAP # Yet Another IP encapsulation diff --git a/target/generic/target_skeleton/etc/random-seed b/target/generic/target_skeleton/etc/random-seed deleted file mode 100644 index f26038adc5d057a0b9d6ce5d3cda02ccb4a4d12e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 512 zcmV+b0{{Iq0UOB42;n4xpAvJIL$H4mg*!B4&9jh)7+B2j-fX7o at K*bzj;pJ$FwoQzl&MuZ^Wy zrYS)x9vq<)#e~&1uB|_ITW-fntEg1^KXs3>vvgL7?_kg!+6=fg{S7mwkr$#pmPZ13liCc zi|M+im&71p*p+Z|7f(m-aedNFtEezFN-nZHytAhV~}?OM$-f$(%cG(ioV{==Ub4mfZP}OaJJ7 z25tvCcku=>;L?}O-dvK9`}<^gmg@IrnfQm#P>RRF|C9c;GDgEg_bw26{dkIVt1`{` z3#ol{Q_FL91TBD~{uZnRRZ(Otf!KXM&;q)8B The Registered Ports are not controlled by the IANA and on most systems -#> can be used by ordinary user processes or programs executed by ordinary -#> users. -# -#> Ports are used in the TCP [45,106] to name the ends of logical -#> connections which carry long term conversations. For the purpose of -#> providing services to unknown callers, a service contact port is -#> defined. This list specifies the port used by the server process as its -#> contact port. While the IANA can not control uses of these ports it -#> does register or list uses of these ports as a convienence to the -#> community. -# -nfsdstatus 1110/tcp -nfsd-keepalive 1110/udp - -ingreslock 1524/tcp -ingreslock 1524/udp -prospero-np 1525/tcp # Prospero non-privileged -prospero-np 1525/udp -datametrics 1645/tcp old-radius # datametrics / old radius entry -datametrics 1645/udp old-radius # datametrics / old radius entry -sa-msg-port 1646/tcp old-radacct # sa-msg-port / old radacct entry -sa-msg-port 1646/udp old-radacct # sa-msg-port / old radacct entry -radius 1812/tcp # Radius -radius 1812/udp # Radius -radacct 1813/tcp # Radius Accounting -radacct 1813/udp # Radius Accounting -nfsd 2049/tcp nfs -nfsd 2049/udp nfs -cvspserver 2401/tcp # CVS client/server operations -cvspserver 2401/udp # CVS client/server operations -mysql 3306/tcp # MySQL -mysql 3306/udp # MySQL -rfe 5002/tcp # Radio Free Ethernet -rfe 5002/udp # Actually uses UDP only -cfengine 5308/tcp # CFengine -cfengine 5308/udp # CFengine -bbs 7000/tcp # BBS service -# -# -# Kerberos (Project Athena/MIT) services -# Note that these are for Kerberos v4, and are unofficial. Sites running -# v4 should uncomment these and comment out the v5 entries above. -# -kerberos4 750/udp kerberos-iv kdc # Kerberos (server) udp -kerberos4 750/tcp kerberos-iv kdc # Kerberos (server) tcp -kerberos_master 751/udp # Kerberos authentication -kerberos_master 751/tcp # Kerberos authentication -passwd_server 752/udp # Kerberos passwd server -krb_prop 754/tcp # Kerberos slave propagation -krbupdate 760/tcp kreg # Kerberos registration -kpasswd 761/tcp kpwd # Kerberos "passwd" -kpop 1109/tcp # Pop with Kerberos -knetd 2053/tcp # Kerberos de-multiplexor -zephyr-srv 2102/udp # Zephyr server -zephyr-clt 2103/udp # Zephyr serv-hm connection -zephyr-hm 2104/udp # Zephyr hostmanager -eklogin 2105/tcp # Kerberos encrypted rlogin -# -# Unofficial but necessary (for NetBSD) services -# -supfilesrv 871/tcp # SUP server -supfiledbg 1127/tcp # SUP debugging -# -# Datagram Delivery Protocol services -# -rtmp 1/ddp # Routing Table Maintenance Protocol -nbp 2/ddp # Name Binding Protocol -echo 4/ddp # AppleTalk Echo Protocol -zip 6/ddp # Zone Information Protocol -# -# Services added for the Debian GNU/Linux distribution -poppassd 106/tcp # Eudora -poppassd 106/udp # Eudora -mailq 174/tcp # Mailer transport queue for Zmailer -mailq 174/tcp # Mailer transport queue for Zmailer -omirr 808/tcp omirrd # online mirror -omirr 808/udp omirrd # online mirror -rmtcfg 1236/tcp # Gracilis Packeten remote config server -xtel 1313/tcp # french minitel -coda_opcons 1355/udp # Coda opcons (Coda fs) -coda_venus 1363/udp # Coda venus (Coda fs) -coda_auth 1357/udp # Coda auth (Coda fs) -coda_udpsrv 1359/udp # Coda udpsrv (Coda fs) -coda_filesrv 1361/udp # Coda filesrv (Coda fs) -codacon 1423/tcp venus.cmu # Coda Console (Coda fs) -coda_aux1 1431/tcp # coda auxiliary service (Coda fs) -coda_aux1 1431/udp # coda auxiliary service (Coda fs) -coda_aux2 1433/tcp # coda auxiliary service (Coda fs) -coda_aux2 1433/udp # coda auxiliary service (Coda fs) -coda_aux3 1435/tcp # coda auxiliary service (Coda fs) -coda_aux3 1435/udp # coda auxiliary service (Coda fs) -cfinger 2003/tcp # GNU Finger -afbackup 2988/tcp # Afbackup system -afbackup 2988/udp # Afbackup system -icp 3130/tcp # Internet Cache Protocol (Squid) -icp 3130/udp # Internet Cache Protocol (Squid) -postgres 5432/tcp # POSTGRES -postgres 5432/udp # POSTGRES -fax 4557/tcp # FAX transmission service (old) -hylafax 4559/tcp # HylaFAX client-server protocol (new) -noclog 5354/tcp # noclogd with TCP (nocol) -noclog 5354/udp # noclogd with UDP (nocol) -hostmon 5355/tcp # hostmon uses TCP (nocol) -hostmon 5355/udp # hostmon uses TCP (nocol) -ircd 6667/tcp # Internet Relay Chat -ircd 6667/udp # Internet Relay Chat -webcache 8080/tcp # WWW caching service -webcache 8080/udp # WWW caching service -tproxy 8081/tcp # Transparent Proxy -tproxy 8081/udp # Transparent Proxy -mandelspawn 9359/udp mandelbrot # network mandelbrot -amanda 10080/udp # amanda backup services -amandaidx 10082/tcp # amanda backup services -amidxtape 10083/tcp # amanda backup services -isdnlog 20011/tcp # isdn logging system -isdnlog 20011/udp # isdn logging system -vboxd 20012/tcp # voice box system -vboxd 20012/udp # voice box system -binkp 24554/tcp # Binkley -binkp 24554/udp # Binkley -asp 27374/tcp # Address Search Protocol -asp 27374/udp # Address Search Protocol -tfido 60177/tcp # Ifmail -tfido 60177/udp # Ifmail -fido 60179/tcp # Ifmail -fido 60179/udp # Ifmail - -# Local services - diff --git a/target/generic/target_skeleton/etc/shadow b/target/generic/target_skeleton/etc/shadow deleted file mode 100644 index 4941a1a..0000000 --- a/target/generic/target_skeleton/etc/shadow +++ /dev/null @@ -1,12 +0,0 @@ -root::10933:0:99999:7::: -bin:*:10933:0:99999:7::: -daemon:*:10933:0:99999:7::: -adm:*:10933:0:99999:7::: -lp:*:10933:0:99999:7::: -sync:*:10933:0:99999:7::: -shutdown:*:10933:0:99999:7::: -halt:*:10933:0:99999:7::: -uucp:*:10933:0:99999:7::: -operator:*:10933:0:99999:7::: -nobody:*:10933:0:99999:7::: -default::10933:0:99999:7::: diff --git a/target/generic/target_skeleton/home/.empty b/target/generic/target_skeleton/home/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/lib/.empty b/target/generic/target_skeleton/lib/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/mnt/.empty b/target/generic/target_skeleton/mnt/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/opt/.empty b/target/generic/target_skeleton/opt/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/proc/.empty b/target/generic/target_skeleton/proc/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/root/.bash_history b/target/generic/target_skeleton/root/.bash_history deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/root/.bash_logout b/target/generic/target_skeleton/root/.bash_logout deleted file mode 100644 index 77ef1f9..0000000 --- a/target/generic/target_skeleton/root/.bash_logout +++ /dev/null @@ -1,7 +0,0 @@ -# ~/.bash_logout: executed by bash(1) when login shell exits. - -# when leaving the console clear the screen to increase privacy - -case "`tty`" in - /dev/tty[0-9]*) clear -esac diff --git a/target/generic/target_skeleton/root/.bash_profile b/target/generic/target_skeleton/root/.bash_profile deleted file mode 100644 index 27bf149..0000000 --- a/target/generic/target_skeleton/root/.bash_profile +++ /dev/null @@ -1,15 +0,0 @@ -# .bash_profile - -export PATH=\ -/bin:\ -/sbin:\ -/usr/bin:\ -/usr/sbin:\ -/usr/bin/X11:\ -/usr/local/bin - -umask 022 - -if [ -f ~/.bashrc ]; then - source ~/.bashrc -fi diff --git a/target/generic/target_skeleton/root/.bashrc b/target/generic/target_skeleton/root/.bashrc deleted file mode 100644 index d13c8f9..0000000 --- a/target/generic/target_skeleton/root/.bashrc +++ /dev/null @@ -1,48 +0,0 @@ -# ~/.bashrc: executed by bash(1) for non-login interactive shells. - -export PATH=\ -/bin:\ -/sbin:\ -/usr/bin:\ -/usr/sbin:\ -/usr/bin/X11:\ -/usr/local/bin - -# If running interactively, then: -if [ "$PS1" ]; then - - if [ "$BASH" ]; then - export PS1="[\u@\h \W]\\$ " - else - if [ "`id -u`" -eq 0 ]; then - export PS1='# ' - else - export PS1='$ ' - fi - fi - - export USER=`id -un` - export LOGNAME=$USER - export HOSTNAME=`/bin/hostname` - export HISTSIZE=1000 - export HISTFILESIZE=1000 - export PAGER='/bin/more ' - export EDITOR='/bin/vi' - export INPUTRC=/etc/inputrc - export DMALLOC_OPTIONS=debug=0x34f47d83,inter=100,log=logfile - export LS_COLORS='no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:'; - - ### Some aliases - alias ps2='ps facux ' - alias ps1='ps faxo "%U %t %p %a" ' - alias af='ps af' - alias cls='clear' - alias ll='/bin/ls --color=tty -laFh' - alias ls='/bin/ls --color=tty -F' - alias df='df -h' - alias indent='indent -bad -bap -bbo -nbc -br -brs -c33 -cd33 -ncdb -ce -ci4 -cli0 -cp33 -cs -d0 -di1 -nfc1 -nfca -hnl -i4 -ip0 -l75 -lp -npcs -npsl -nsc -nsob -nss -ts4 ' - #alias bc='bc -l' - alias minicom='minicom -c on' - alias calc='calc -Cd ' - alias bc='calc -Cd ' -fi; diff --git a/target/generic/target_skeleton/root/.empty b/target/generic/target_skeleton/root/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/sbin/.empty b/target/generic/target_skeleton/sbin/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/sys/.empty b/target/generic/target_skeleton/sys/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/tmp/.empty b/target/generic/target_skeleton/tmp/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/usr/bin/.empty b/target/generic/target_skeleton/usr/bin/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/usr/lib/.empty b/target/generic/target_skeleton/usr/lib/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/usr/sbin/.empty b/target/generic/target_skeleton/usr/sbin/.empty deleted file mode 100644 index e69de29..0000000 diff --git a/target/generic/target_skeleton/usr/share/udhcpc/default.script b/target/generic/target_skeleton/usr/share/udhcpc/default.script deleted file mode 100755 index a52a7f8..0000000 --- a/target/generic/target_skeleton/usr/share/udhcpc/default.script +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh - -# udhcpc script edited by Tim Riker - -[ -z "$1" ] && echo "Error: should be called from udhcpc" && exit 1 - -RESOLV_CONF="/etc/resolv.conf" -[ -n "$broadcast" ] && BROADCAST="broadcast $broadcast" -[ -n "$subnet" ] && NETMASK="netmask $subnet" - -case "$1" in - deconfig) - /sbin/ifconfig $interface 0.0.0.0 - ;; - - renew|bound) - /sbin/ifconfig $interface $ip $BROADCAST $NETMASK - - if [ -n "$router" ] ; then - echo "deleting routers" - while route del default gw 0.0.0.0 dev $interface ; do - : - done - - for i in $router ; do - route add default gw $i dev $interface - done - fi - - echo -n > $RESOLV_CONF - [ -n "$domain" ] && echo search $domain >> $RESOLV_CONF - for i in $dns ; do - echo adding dns $i - echo nameserver $i >> $RESOLV_CONF - done - ;; -esac - -exit 0 diff --git a/target/generic/target_skeleton/var/cache b/target/generic/target_skeleton/var/cache deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_skeleton/var/cache +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/var/lib/pcmcia b/target/generic/target_skeleton/var/lib/pcmcia deleted file mode 120000 index f1fde8c..0000000 --- a/target/generic/target_skeleton/var/lib/pcmcia +++ /dev/null @@ -1 +0,0 @@ -../../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/var/lock b/target/generic/target_skeleton/var/lock deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_skeleton/var/lock +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/var/log b/target/generic/target_skeleton/var/log deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_skeleton/var/log +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/var/pcmcia b/target/generic/target_skeleton/var/pcmcia deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_skeleton/var/pcmcia +++ /dev/null vv@@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/var/run b/target/generic/target_skeleton/var/run deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_skeleton/var/run +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/var/spool b/target/generic/target_skeleton/var/spool deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_skeleton/var/spool +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file diff --git a/target/generic/target_skeleton/var/tmp b/target/generic/target_skeleton/var/tmp deleted file mode 120000 index 1431b0e..0000000 --- a/target/generic/target_skeleton/var/tmp +++ /dev/null @@ -1 +0,0 @@ -../tmp \ No newline at end of file -- 1.7.1