From 90965566891ee63baaae6be66e55a12c28ab1b65 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 5 Dec 2010 21:53:01 +0100 Subject: board: simplify atngw100 support Minimize atngw100_defconfig, remove atngw100-base_defconfig, and remove the target skeleton and device table. Instead of having complete copies of new target skeletons (making them hard to maintain), we should just have a post-build script that adds/removes/tweaks the existing target skeleton. Moreover, most of the tweaks in this target skeleton were for specific packages, but the policy now is that board defconfig should just build a basic root filesystem with Busybox, and let the user select whichever set of packages (s)he wants. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- .../target_skeleton/usr/share/udhcpc/default.script | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100755 target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script (limited to 'target/device/Atmel/atngw100/target_skeleton/usr') diff --git a/target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script b/target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script deleted file mode 100755 index 56cbaf6c4..000000000 --- a/target/device/Atmel/atngw100/target_skeleton/usr/share/udhcpc/default.script +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - - -case $1 in - deconfig) - ifconfig $interface 0.0.0.0 - ;; - bound|renew) - ifconfig $interface $ip netmask $subnet broadcast $broadcast - route add default gw $router - echo -n > /etc/resolv.conf - [ -z "$domain" ] || echo "domain $domain" >> /etc/resolv.conf - for n in $dns; do echo "nameserver $n" >> /etc/resolv.conf; done - if [ ! -z "$hostname" ]; then - echo $hostname > /etc/hostname - hostname $hostname - fi - ;; -esac -- cgit v1.2.3