summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-05-01 11:03:00 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-05-01 11:03:00 +0000
commitad4d414c5b7dafeb2a9c5bfc8f3d7fed38a2ffea (patch)
treec99ce948e346812f83762db3a33a3e18d9149873
parent6777ecb5a5a3aed9cb4842e03eb77940529db5a3 (diff)
downloadmtk-20170518-ad4d414c5b7dafeb2a9c5bfc8f3d7fed38a2ffea.zip
mtk-20170518-ad4d414c5b7dafeb2a9c5bfc8f3d7fed38a2ffea.tar.gz
mtk-20170518-ad4d414c5b7dafeb2a9c5bfc8f3d7fed38a2ffea.tar.bz2
ip-up script, so that we can get time from network after successful connection
SVN-Revision: 783
-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 0000000..c85862c
--- /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}