diff options
author | Javier Jardón <jjardon@gnome.org> | 2014-11-10 16:26:43 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2014-11-17 21:25:01 +0000 |
commit | 772a98fec669cf881d7c1ea17631bc8560bccf5c (patch) | |
tree | c48bfb8f993cf3c53cb4f7127de627f38bec8051 /scripts | |
parent | 8a801e0f024f1385d8e989b80b90443546bceae7 (diff) | |
download | busybox-772a98fec669cf881d7c1ea17631bc8560bccf5c.tar.gz |
Remove unnecessary stuff to configure network/ntpdbaserock/build-essential
This is done now by systemd
Reviewed-by: Sam Thursfield <sam.thursfield@codethink.co.uk>
Reviewed-by: James Thomas <james.thomas@codethink.co.uk>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-ntpd-with-config | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/scripts/run-ntpd-with-config b/scripts/run-ntpd-with-config deleted file mode 100755 index 24d9cc165..000000000 --- a/scripts/run-ntpd-with-config +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh -# -# Invoke the Busybox ntpd with servers listed in /etc/ntpd.conf, if it -# exists. The servers should be listed one per line, with the first -# word in the line being "server". Any lines that don't start with -# "server" as the first word are ignored. The server name should be -# the second word. Anything else on the line is ignored. -# -# If the config file does not exist, no default servers are used. - -set -eu - -parse_servers() -{ - awk '$1 == "server" { for (i=2; i <= NF; ++i) print "-p", $i }' "$1" -} - -if [ -e /etc/ntpd.conf ] -then - exec ntpd $(parse_servers /etc/ntpd.conf) "$@" -else - exec ntpd "$@" -fi |