From: wbx Date: Fri, 29 Apr 2005 17:34:47 +0000 (+0000) Subject: start ntp after pppoe connection. will add rdate call in ip-up later X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/658e159aa46b16404194b53a0b2580c8575fa006 start ntp after pppoe connection. will add rdate call in ip-up later git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@763 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/openntpd/ipkg/etc/init.d/S49ntpd b/package/openntpd/ipkg/etc/init.d/S49ntpd deleted file mode 100755 index e52874878..000000000 --- a/package/openntpd/ipkg/etc/init.d/S49ntpd +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6` -/usr/sbin/ntpd -s diff --git a/package/openntpd/ipkg/etc/init.d/S55ntpd b/package/openntpd/ipkg/etc/init.d/S55ntpd new file mode 100755 index 000000000..e52874878 --- /dev/null +++ b/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