1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-13 03:05:56 +02:00
openwrt-xburst/openwrt/package/openntpd/ipkg/etc/init.d/S49ntpd
wbx 7bf482253f 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@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