blob: 1e4f34da187cebffe98a98c66c4240c5c3163dda (
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 "-s"
add_rcconf ntpd NO
|