1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-21 06:10:50 +02:00
openwrt-xburst/package/openntpd/ipkg/etc/init.d/S49ntpd
wbx f0876cc261 fixup openntpd package. ntpd now starts as user ntp and
CONTROL/postinst can be executed on host and target system.
idea from nbd to use IPKG_ROOTDIR


git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-03-23 20:19:42 +00:00

4 lines
78 B
Bash
Executable File

#!/bin/sh
mkdir -p `grep "^ntp:" /etc/passwd | cut -d: -f6`
/usr/sbin/ntpd -s