From 23770f95c361e40ceaaa54e8c3dfa6436b9c26fe Mon Sep 17 00:00:00 2001 From: wbx Date: Fri, 29 Apr 2005 17:34:47 +0000 Subject: 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 --- openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd (limited to 'openwrt/package/openntpd/ipkg/etc/init.d/S55ntpd') 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 -- cgit v1.2.3