ip-up script, so that we can get time from network after successful connection
authorwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 1 May 2005 11:03:00 +0000 (11:03 +0000)
committerwbx <wbx@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 1 May 2005 11:03:00 +0000 (11:03 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@783 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/ppp/ipkg/ppp-pppoe-plugin/etc/ppp/ip-up [new file with mode: 0755]

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 (executable)
index 0000000..c85862c
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+ntp_server=$(nvram get ntp_server)
+/usr/sbin/rdate ${ntp_server}