summaryrefslogtreecommitdiff
path: root/package/rdate/files/rdate.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/rdate/files/rdate.postinst')
-rw-r--r--package/rdate/files/rdate.postinst4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/rdate/files/rdate.postinst b/package/rdate/files/rdate.postinst
new file mode 100644
index 000000000..e0013bdcc
--- /dev/null
+++ b/package/rdate/files/rdate.postinst
@@ -0,0 +1,4 @@
+#!/usr/bin/env bash
+. $IPKG_INSTROOT/etc/functions.sh
+add_rcconf 'e.g. "-nv pool.ntp.org"' rdate_flags
+add_service ntp 123/udp