aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'package/ppp')
-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 0000000000..c85862cef8
--- /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}