aboutsummaryrefslogtreecommitdiffstats
path: root/package/ppp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-05-01 11:03:00 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-05-01 11:03:00 +0000
commit372f7ddd7da770dbc125a6f10d9fe5ba796e1a4f (patch)
tree48a59f4a09e6949eae41de8b22df0ad72d642718 /package/ppp
parent2490204825c4250bbd5ffda4408b630bd090ac5c (diff)
downloadmaster-187ad058-372f7ddd7da770dbc125a6f10d9fe5ba796e1a4f.tar.gz
master-187ad058-372f7ddd7da770dbc125a6f10d9fe5ba796e1a4f.tar.bz2
master-187ad058-372f7ddd7da770dbc125a6f10d9fe5ba796e1a4f.zip
ip-up script, so that we can get time from network after successful connection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@783 3c298f89-4303-0410-b956-a3cf2f4a3e73
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}