summaryrefslogtreecommitdiff
path: root/package/rdate/files/rdate.postinst
blob: 8462c7ebec693ee23b250b34872b5318d403797b (plain)
1
2
3
4
5
#!/usr/bin/env bash
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf rdate_flags "-nv pool.ntp.org"
add_service ntp 123/tcp
add_service ntp 123/udp