summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up b/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
new file mode 100755
index 000000000..c85862cef
--- /dev/null
+++ b/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ntp_server=$(nvram get ntp_server)
+/usr/sbin/rdate ${ntp_server}