summaryrefslogtreecommitdiffstats
path: root/openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd
diff options
context:
space:
mode:
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-29 17:34:47 +0000
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-04-29 17:34:47 +0000
commit23770f95c361e40ceaaa54e8c3dfa6436b9c26fe (patch)
tree7c9c11ffa598b1345c6eeb0279cb94d0902dcaa3 /openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd
parent0dc3241aa8136b0d88919bc1823cb1f76a66fc7b (diff)
start ntp after pppoe connection. will add rdate call in ip-up later
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@763 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd')
-rwxr-xr-xopenwrt/package/openntpd/ipkg/etc/init.d/S55ntpd3
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd b/openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd
new file mode 100755
index 000000000..e52874878
--- /dev/null
+++ b/openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd
@@ -0,0 +1,3 @@
+#!/bin/sh
+mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
+/usr/sbin/ntpd -s