blob: c6d0bd33de62344e3534fbbad7db5d6bc7be54cb (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
gid=$(get_next_gid)
add_group ntp $gid
add_user ntp $(get_next_uid) $gid /tmp/.ntp
add_service ntp 123/udp
add_rcconf ntpd_flags ntpd_flags "-s"
add_rcconf ntpd ntpd NO
|