summaryrefslogtreecommitdiffstats
path: root/openwrt/package/ppp
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/ppp')
-rwxr-xr-xopenwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up4
1 files changed, 4 insertions, 0 deletions
diff --git a/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up b/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up
new file mode 100755
index 000000000..c85862cef
--- /dev/null
+++ b/openwrt/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}