aboutsummaryrefslogtreecommitdiff
path: root/scripts/rc/ntpwait
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/rc/ntpwait')
-rw-r--r--scripts/rc/ntpwait15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/rc/ntpwait b/scripts/rc/ntpwait
new file mode 100644
index 000000000000..2542b2add9e6
--- /dev/null
+++ b/scripts/rc/ntpwait
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+NTPWAIT=/usr/sbin/ntpwait
+
+ntpwait_start() {
+ $NTPWAIT -v
+}
+
+case "$1" in
+ 'start')
+ ntpwait_start
+ ;;
+ *)
+ echo "Usage: $0 (start)"
+esac