diff options
author | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-29 17:34:47 +0000 |
---|---|---|
committer | wbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-29 17:34:47 +0000 |
commit | 658e159aa46b16404194b53a0b2580c8575fa006 (patch) | |
tree | dbaaa400856bb58b7f1e3058fc357929ed73489b /package/openntpd/ipkg/etc/init.d/S55ntpd | |
parent | 06c2f90c4f490a375eeabc35c875233a18d10f52 (diff) |
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
Diffstat (limited to 'package/openntpd/ipkg/etc/init.d/S55ntpd')
-rwxr-xr-x | package/openntpd/ipkg/etc/init.d/S55ntpd | 3 |
1 files changed, 3 insertions, 0 deletions
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 |