summaryrefslogtreecommitdiffstats
path: root/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S43ntp
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-12-05 21:53:01 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-12-16 14:54:57 +0100
commit90965566891ee63baaae6be66e55a12c28ab1b65 (patch)
tree7405afb58ca0a4744cb7e4eaaf3b5af623e4ae2b /target/device/Atmel/atngw100/target_skeleton/etc/init.d/S43ntp
parent729b0fa2cae5ccb18c58d77a204180d2fad6db73 (diff)
downloadbuildroot-novena-90965566891ee63baaae6be66e55a12c28ab1b65.tar.gz
buildroot-novena-90965566891ee63baaae6be66e55a12c28ab1b65.zip
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 <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/device/Atmel/atngw100/target_skeleton/etc/init.d/S43ntp')
-rwxr-xr-xtarget/device/Atmel/atngw100/target_skeleton/etc/init.d/S43ntp27
1 files changed, 0 insertions, 27 deletions
diff --git a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S43ntp b/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S43ntp
deleted file mode 100755
index 69fa4c894..000000000
--- a/target/device/Atmel/atngw100/target_skeleton/etc/init.d/S43ntp
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-NTPDATE=/usr/bin/ntpdate
-
-if [ -f /etc/default/ntpdate ]; then
- . /etc/default/ntpdate
-else
- echo "WARNING: missing /etc/default/ntpdate"
- exit 1
-fi
-
-echo -n "Starting ntpdate: "
-if [ ! -x ${NTPDATE} ]; then
- echo "missing"
- echo -n " WARNING: could not syncronize clock, "
- echo "edit NTPSERVERS in /etc/default/ntpdate."
- exit 1
-fi
-
-if ${NTPDATE} $NTPOPTIONS $NTPSERVERS; then
- echo "done"
-else
- echo "failed"
- echo -n " WARNING: could not syncronize clock, "
- echo "edit NTPSERVERS in /etc/default/ntpdate."
- exit 1
-fi