summaryrefslogtreecommitdiff
path: root/examples/source/ntpclient/run
diff options
context:
space:
mode:
authorColin Booth <colin@heliocat.net>2017-09-12 10:56:07 -0700
committerLaurent Bercot <ska-skaware@skarnet.org>2017-09-13 16:13:17 +0000
commit184f2cd48a46abf0407a775cc7ea42d3483df613 (patch)
tree2939b43091c04544503b2cc9ca905afb78c30cb7 /examples/source/ntpclient/run
parentbc0746bebb7adcb18ed8e32aebef10ca8f555479 (diff)
downloads6-rc-184f2cd48a46abf0407a775cc7ea42d3483df613.tar.xz
s6-rc examples: Change usage of import to importas.
execline's import is deprecated but the examples in s6-rc have not yet been updated to use importas.
Diffstat (limited to 'examples/source/ntpclient/run')
-rwxr-xr-xexamples/source/ntpclient/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/source/ntpclient/run b/examples/source/ntpclient/run
index be19c56..238580c 100755
--- a/examples/source/ntpclient/run
+++ b/examples/source/ntpclient/run
@@ -11,7 +11,7 @@ if
pipeline { s6-dnsip4 -t 16000 0.fr.pool.ntp.org }
s6-head -n 1
}
- import -u NTPSERVERIP
+ importas -u NTPSERVERIP NTPSERVERIP
s6-sntpclock -v 2 $NTPSERVERIP
}
s6-clockadd -e 120000